Changeset 8284 for code/branches/kicklib2/src/CMakeLists.txt
- Timestamp:
- Apr 21, 2011, 6:58:23 PM (14 years ago)
- Location:
- code/branches/kicklib2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib2
- Property svn:mergeinfo changed
-
code/branches/kicklib2/src/CMakeLists.txt
r8283 r8284 69 69 # Set the search paths for include files 70 70 INCLUDE_DIRECTORIES( 71 # OrxonoxConfig.h 72 ${CMAKE_CURRENT_BINARY_DIR} 73 74 # All includes in "externals" should be prefixed with the path 75 # relative to "external" to avoid conflicts 76 ${CMAKE_CURRENT_SOURCE_DIR}/external 77 # Include directories needed even if only included by Orxonox 78 ${CMAKE_CURRENT_SOURCE_DIR}/external/bullet 79 ${CMAKE_CURRENT_SOURCE_DIR}/external/ois 80 71 81 # External 72 82 ${OGRE_INCLUDE_DIR} 73 83 ${CEGUI_INCLUDE_DIR} 84 ${CEGUI_TOLUA_INCLUDE_DIR} 74 85 #${ENET_INCLUDE_DIR} 75 86 ${Boost_INCLUDE_DIRS} … … 83 94 ${DIRECTX_INCLUDE_DIR} 84 95 ${ZLIB_INCLUDE_DIR} 96 ) 85 97 86 # All includes in "externals" should be prefixed with the path 87 # relative to "external" to avoid conflicts 88 ${CMAKE_CURRENT_SOURCE_DIR}/external 89 # Include directories needed even if only included by Orxonox 90 ${CMAKE_CURRENT_SOURCE_DIR}/external/bullet 91 ${CMAKE_CURRENT_SOURCE_DIR}/external/ois 92 93 # OrxonoxConfig.h 94 ${CMAKE_CURRENT_BINARY_DIR} 95 ) 98 IF(CEGUI_OLD_VERSION) 99 INCLUDE_DIRECTORIES(${CEGUILUA_INCLUDE_DIR}) 100 ENDIF() 96 101 97 102 IF (DBGHELP_FOUND) … … 165 170 SET(MSVC_PLATFORM "Win32") 166 171 ENDIF() 167 STRING(REGEX REPLACE "^Visual Studio ([0-9][0-9]?) .*$" "\\1" 168 VISUAL_STUDIO_VERSION_SIMPLE "${CMAKE_GENERATOR}") 169 CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/orxonox-main.vcproj.user.in" "${CMAKE_CURRENT_BINARY_DIR}/orxonox-main.vcproj.user") 172 IF(MSVC10) 173 CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/orxonox-main.vcxproj.user.in" "${CMAKE_CURRENT_BINARY_DIR}/orxonox-main.vcxproj.user") 174 ELSE() 175 STRING(REGEX REPLACE "^Visual Studio ([0-9][0-9]?).*$" "\\1" 176 VISUAL_STUDIO_VERSION_SIMPLE "${CMAKE_GENERATOR}") 177 CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/orxonox-main.vcproj.user.in" "${CMAKE_CURRENT_BINARY_DIR}/orxonox-main.vcproj.user") 178 ENDIF() 170 179 ENDIF(MSVC) 171 180
Note: See TracChangeset
for help on using the changeset viewer.