Changeset 7143 for code/branches/presentation3/src/CMakeLists.txt
- Timestamp:
- Jun 10, 2010, 1:44:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/CMakeLists.txt
r7142 r7143 31 31 INCLUDE(OrxonoxConfig.cmake) 32 32 33 ####### ######### Library Defines ################33 ####### Library Behaviour (dependencies) ######## 34 34 35 35 # Disable Boost auto linking completely … … 46 46 ADD_COMPILER_FLAGS("-DSTATIC_BUILD" WIN32 NOT LINK_TCL_DYNAMIC) 47 47 48 ######### Library Behaviour (external) ########## 49 48 50 # Use TinyXML++ 49 51 ADD_COMPILER_FLAGS("-DTIXML_USE_TICPP") 52 53 # Default linking for externals is SHARED 54 SET(ORXONOX_EXTERNAL_LINK_MODE SHARED CACHE STRING "Link mode for external libraries that we build ourselves. Note: on Windows, some libraries cannot be linked shared.") 55 56 IF(ORXONOX_EXTERNAL_LINK_MODE STREQUAL "SHARED") 57 SET(_external_shared_link TRUE) 58 ELSE() 59 SET(_external_shared_link FALSE) 60 ENDIF() 61 # If no defines are specified, these libs get linked dynamically 62 ADD_COMPILER_FLAGS("-DCEGUILUA_STATIC" WIN32 NOT _external_shared_link) 63 ADD_COMPILER_FLAGS("-DOGRE_GUIRENDERER_STATIC_LIB" WIN32 NOT _external_shared_link) 64 ADD_COMPILER_FLAGS("-DOIS_STATIC_LIB" WIN32 NOT _external_shared_link) 65 ADD_COMPILER_FLAGS("-DTOLUA_STATIC_BUILD" WIN32 NOT _external_shared_link) 50 66 51 67 ############## Include Directories ##############
Note: See TracChangeset
for help on using the changeset viewer.