Build/CMake: Compile the minimum of dependencies possible

mysql if SERVERS, zlib, g3d and recast if SERVERS or TOOLS
This commit is contained in:
DDuarte
2014-08-03 18:12:04 +01:00
parent 02a3b3d949
commit 6e9d7486fe

View File

@@ -21,17 +21,21 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
endif()
if(CMAKE_SYSTEM_NAME MATCHES "Windows")
if(USE_MYSQL_SOURCES)
if(USE_MYSQL_SOURCES AND SERVERS)
add_subdirectory(mysqllite)
endif()
if(TOOLS)
add_subdirectory(bzip2)
endif()
add_subdirectory(zlib)
if(SERVERS OR TOOLS)
add_subdirectory(zlib)
endif()
endif()
add_subdirectory(g3dlite)
add_subdirectory(recastnavigation)
if(SERVERS OR TOOLS)
add_subdirectory(g3dlite)
add_subdirectory(recastnavigation)
endif()
if(SERVERS)
add_subdirectory(gsoap)