File tree 2 files changed +8
-42
lines changed
2 files changed +8
-42
lines changed Original file line number Diff line number Diff line change @@ -46,5 +46,12 @@ set(BUILD_LUA_LIBS ON)
46
46
set (BUILD_JS_LIBS ON )
47
47
48
48
add_subdirectory (${COCOS2DX_ROOT_PATH} /cocos ${ENGINE_BINARY_PATH} /cocos/core)
49
- add_subdirectory (${COCOS2DX_ROOT_PATH} /tests ${ENGINE_BINARY_PATH} /tests)
50
49
50
+ # prevent tests project to build "cocos2d-x/cocos" again
51
+ set (BUILD_ENGINE_DONE ON )
52
+ # add engine all tests project
53
+ add_subdirectory (${COCOS2DX_ROOT_PATH} /tests/cpp-empty-test ${ENGINE_BINARY_PATH} /tests/cpp-empty-test )
54
+ add_subdirectory (${COCOS2DX_ROOT_PATH} /tests/cpp-tests ${ENGINE_BINARY_PATH} /tests/cpp-tests)
55
+ add_subdirectory (${COCOS2DX_ROOT_PATH} /tests/js-tests/project ${ENGINE_BINARY_PATH} /tests/js-tests)
56
+ add_subdirectory (${COCOS2DX_ROOT_PATH} /tests/lua-empty-test /project ${ENGINE_BINARY_PATH} /tests/lua-empty-test )
57
+ add_subdirectory (${COCOS2DX_ROOT_PATH} /tests/lua-tests/project ${ENGINE_BINARY_PATH} /tests/lua-test )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments