Skip to content

Commit 391f30a

Browse files
drelaptopminggo
authored and
minggo
committed
beauty cmake format, reduce duplicate defines (cocos2d#18799)
* reduce cmake module duplicate * make module use more clear, correct cmake style * keep default physics option * delete the modules distributed with cmake * unify the cmake files format * use AndroidNdkModules at cmake sys modules * add cmake comments for win * update cocos2dx files list, manually
1 parent 9942b06 commit 391f30a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+3801
-7446
lines changed

CMakeLists.txt

-2
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,10 @@ set(CMAKE_MODULE_PATH ${COCOS2DX_ROOT_PATH}/cmake/Modules/)
3636

3737
# works before build libcocos2d
3838
include(CocosBuildSet)
39-
CocosBuildSet()
4039

4140
# default tests include lua, js test project, so we set those option on to build libs
4241
set(BUILD_LUA_LIBS ON)
4342
set(BUILD_JS_LIBS ON)
44-
set(BUILD_SIMU_LIB ON)
4543

4644
if(NOT USE_COCOS_PREBUILT)
4745
add_subdirectory(${COCOS2DX_ROOT_PATH}/cocos ${ENGINE_BINARY_PATH}/cocos/core)

cmake/AndroidNdkGdb.cmake

-95
This file was deleted.

cmake/AndroidNdkModules.cmake

-63
This file was deleted.

cmake/BuildHelpers.CMakeLists.txt

-2
This file was deleted.

0 commit comments

Comments
 (0)