mirror of https://github.com/axmolengine/axmol.git
added tinyxml2 to the option of using external version
This commit is contained in:
parent
421be753b3
commit
7fad8a4d0d
|
@ -43,14 +43,8 @@ option(BUILD_EDITOR_COCOSTUDIO "Build editor support for cocostudio" ON)
|
||||||
option(BUILD_EDITOR_COCOSBUILDER "Build editor support for cocosbuilder" ON)
|
option(BUILD_EDITOR_COCOSBUILDER "Build editor support for cocosbuilder" ON)
|
||||||
option(BUILD_EXTERN_LIBS "Build Box2d, Chipmunk etc from source" ON)
|
option(BUILD_EXTERN_LIBS "Build Box2d, Chipmunk etc from source" ON)
|
||||||
option(BUILD_CppTests "Only build TestCpp sample" ON)
|
option(BUILD_CppTests "Only build TestCpp sample" ON)
|
||||||
|
option(BUILD_LIBS_LUA "Build lua libraries" ON)
|
||||||
if(NOT LINUX)
|
option(BUILD_LuaTests "Only build TestLua sample" ON)
|
||||||
option(BUILD_LIBS_LUA "Build lua libraries" OFF)
|
|
||||||
option(BUILD_LuaTests "Only build TestLua sample" OFF)
|
|
||||||
else()
|
|
||||||
option(BUILD_LIBS_LUA "Build lua libraries" ON)
|
|
||||||
option(BUILD_LuaTests "Only build TestLua sample" ON)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(DEBUG_MODE)
|
if(DEBUG_MODE)
|
||||||
set(CMAKE_BUILD_TYPE DEBUG)
|
set(CMAKE_BUILD_TYPE DEBUG)
|
||||||
|
@ -196,8 +190,10 @@ endif()
|
||||||
# unzip library
|
# unzip library
|
||||||
add_subdirectory(external/unzip)
|
add_subdirectory(external/unzip)
|
||||||
|
|
||||||
|
if(BUILD_EXTERN_LIBS)
|
||||||
# tinyxml2 library
|
# tinyxml2 library
|
||||||
add_subdirectory(external/tinyxml2)
|
add_subdirectory(external/tinyxml2)
|
||||||
|
endif()
|
||||||
|
|
||||||
# xxhash library
|
# xxhash library
|
||||||
add_subdirectory(external/xxhash)
|
add_subdirectory(external/xxhash)
|
||||||
|
|
Loading…
Reference in New Issue