mirror of https://github.com/axmolengine/axmol.git
Merge pull request #8661 from dabingnn/v3_fixLinuxConsole
add missed external module for cocos console on linux
This commit is contained in:
commit
3fdac6b3e7
|
@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8)
|
||||||
set(APP_NAME MyGame)
|
set(APP_NAME MyGame)
|
||||||
project (${APP_NAME})
|
project (${APP_NAME})
|
||||||
|
|
||||||
include(cocos2d/build/BuildHelpers.CMakeLists.txt)
|
include(cocos2d/cmake/BuildHelpers.CMakeLists.txt)
|
||||||
|
|
||||||
option(DEBUG_MODE "Debug or release?" ON)
|
option(DEBUG_MODE "Debug or release?" ON)
|
||||||
|
|
||||||
|
@ -120,6 +120,7 @@ include_directories(
|
||||||
${COCOS2D_ROOT}/extensions
|
${COCOS2D_ROOT}/extensions
|
||||||
${COCOS2D_ROOT}/external
|
${COCOS2D_ROOT}/external
|
||||||
${COCOS2D_ROOT}/external/edtaa3func
|
${COCOS2D_ROOT}/external/edtaa3func
|
||||||
|
${COCOS2D_ROOT}/external/chipmunk/include/chipmunk
|
||||||
${COCOS2D_ROOT}/external/jpeg/include/linux
|
${COCOS2D_ROOT}/external/jpeg/include/linux
|
||||||
${COCOS2D_ROOT}/external/tiff/include/linux
|
${COCOS2D_ROOT}/external/tiff/include/linux
|
||||||
${COCOS2D_ROOT}/external/webp/include/linux
|
${COCOS2D_ROOT}/external/webp/include/linux
|
||||||
|
@ -147,6 +148,14 @@ link_directories(
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# build for 3rd party libraries
|
||||||
|
if(LINUX)
|
||||||
|
add_subdirectory(${COCOS2D_ROOT}/external/Box2D)
|
||||||
|
add_subdirectory(${COCOS2D_ROOT}/external/unzip)
|
||||||
|
add_subdirectory(${COCOS2D_ROOT}/external/xxhash)
|
||||||
|
add_subdirectory(${COCOS2D_ROOT}/external/tinyxml2)
|
||||||
|
endif()
|
||||||
|
|
||||||
# libcocos2d
|
# libcocos2d
|
||||||
add_subdirectory(${COCOS2D_ROOT}/cocos)
|
add_subdirectory(${COCOS2D_ROOT}/cocos)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue