mirror of https://github.com/axmolengine/axmol.git
Improve project template [skip ci]
This commit is contained in:
parent
0b19d999e9
commit
95e8b68051
|
@ -198,6 +198,9 @@ if (AX_WITH_YAML_CPP)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (_AX_USE_PREBUILT) # support windows only
|
if (_AX_USE_PREBUILT) # support windows only
|
||||||
|
include(${ADXE_ROOT_PATH}/cmake/Modules/CocosConfigDefine.cmake)
|
||||||
|
use_cocos2dx_compile_define(${APP_NAME})
|
||||||
|
|
||||||
include(${ADXE_ROOT_PATH}/cmake/Modules/AdxeLinkHelpers.cmake)
|
include(${ADXE_ROOT_PATH}/cmake/Modules/AdxeLinkHelpers.cmake)
|
||||||
adxe_link_cxx_prebuilt(${APP_NAME} ${ADXE_ROOT_PATH} ${AX_PREBUILT_DIR})
|
adxe_link_cxx_prebuilt(${APP_NAME} ${ADXE_ROOT_PATH} ${AX_PREBUILT_DIR})
|
||||||
endif()
|
endif()
|
|
@ -212,6 +212,9 @@ if (AX_WITH_YAML_CPP)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (_AX_USE_PREBUILT) # support windows only
|
if (_AX_USE_PREBUILT) # support windows only
|
||||||
|
include(${ADXE_ROOT_PATH}/cmake/Modules/CocosConfigDefine.cmake)
|
||||||
|
use_cocos2dx_compile_define(${APP_NAME})
|
||||||
|
|
||||||
include(${ADXE_ROOT_PATH}/cmake/Modules/AdxeLinkHelpers.cmake)
|
include(${ADXE_ROOT_PATH}/cmake/Modules/AdxeLinkHelpers.cmake)
|
||||||
adxe_link_lua_prebuilt(${APP_NAME} ${ADXE_ROOT_PATH} ${AX_PREBUILT_DIR})
|
adxe_link_lua_prebuilt(${APP_NAME} ${ADXE_ROOT_PATH} ${AX_PREBUILT_DIR})
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue