Changeset 8299 for code/branches/kicklib2
- Timestamp:
- Apr 22, 2011, 6:26:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib2/src/CMakeLists.txt
r8285 r8299 37 37 ADD_COMPILER_FLAGS("-DPOCO_NO_AUTOMATIC_LIBS") 38 38 39 # If no defines are specified, these libs get linked statically 40 ADD_COMPILER_FLAGS("-DBOOST_ALL_DYN_LINK" WIN32 LINK_BOOST_DYNAMIC) 41 #ADD_COMPILER_FLAGS("-DENET_DLL" WIN32 LINK_ENET_DYNAMIC) 42 ADD_COMPILER_FLAGS("-DLUA_BUILD_AS_DLL" WIN32 LINK_LUA5.1_DYNAMIC) 43 # If no defines are specified, these libs get linked dynamically 44 ADD_COMPILER_FLAGS("-DCEGUI_STATIC -DTOLUA_STATIC" WIN32 NOT LINK_CEGUI_DYNAMIC) 45 ADD_COMPILER_FLAGS("-DOGRE_STATIC_LIB" WIN32 NOT LINK_OGRE_DYNAMIC) 46 ADD_COMPILER_FLAGS("-DSTATIC_BUILD" WIN32 NOT LINK_TCL_DYNAMIC) 39 IF(WIN32) 40 # If no defines are specified, these libs get linked statically 41 ADD_COMPILER_FLAGS("-DBOOST_ALL_DYN_LINK" LINK_BOOST_DYNAMIC) 42 #ADD_COMPILER_FLAGS("-DENET_DLL" LINK_ENET_DYNAMIC) 43 ADD_COMPILER_FLAGS("-DLUA_BUILD_AS_DLL" LINK_LUA5.1_DYNAMIC) 44 # If no defines are specified, these libs get linked dynamically 45 ADD_COMPILER_FLAGS("-DCEGUI_STATIC -DTOLUA_STATIC" NOT LINK_CEGUI_DYNAMIC) 46 ADD_COMPILER_FLAGS("-DOGRE_STATIC_LIB" NOT LINK_OGRE_DYNAMIC) 47 ADD_COMPILER_FLAGS("-DSTATIC_BUILD" NOT LINK_TCL_DYNAMIC) 48 49 # Target Windows XP as minimum Windows version 50 # And try to catch all the different macro defines for that... 51 ADD_COMPILER_FLAGS("-D_WIN32_WINNT=0x0501") 52 ADD_COMPILER_FLAGS("-D_WIN32_WINDOWS=0x0501") 53 ADD_COMPILER_FLAGS("-DWINVER=0x0501") 54 ADD_COMPILER_FLAGS("-DNTDDI_VERSION=0x05010000") 55 ENDIF(WIN32) 47 56 48 57 ######### Library Behaviour (external) ##########
Note: See TracChangeset
for help on using the changeset viewer.