Changeset 2583 for code/branches/buildsystem2/CMakeLists.txt
- Timestamp:
- Jan 12, 2009, 1:33:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/CMakeLists.txt
r2582 r2583 14 14 15 15 # Set binary output directories 16 SET( EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)17 SET( LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)18 MARK_AS_ADVANCED(EXECUTABLE_OUTPUT_PATH LIBRARY_OUTPUT_PATH)16 SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) 17 SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) 18 SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) 19 19 20 20 # Set Debug build to default when not having multi-config generator like msvc … … 25 25 ############## Platform Config ################## 26 26 27 # Config re platform specific options27 # Configure platform specific options 28 28 INCLUDE(ConfigPlatforms) 29 29 … … 40 40 ############### Library finding ################# 41 41 42 INCLUDE(FindPackageHandleStandardArgs) 43 INCLUDE(HandleLibraryTypes) 42 # Performs the search and sets the variables 44 43 45 # Performs the search and sets the variables 44 # Expand the next statement if newer boost versions than 1.36.1 are released 45 SET(Boost_ADDITIONAL_VERSIONS 1.37 1.37.0 CACHE STRING "") 46 FIND_PACKAGE(Boost 1.34 REQUIRED thread filesystem) 46 47 FIND_PACKAGE(OGRE REQUIRED) 47 48 FIND_PACKAGE(CEGUI REQUIRED) 48 49 FIND_PACKAGE(ENet REQUIRED) 49 FIND_PACKAGE(Boost 1.34 REQUIRED thread filesystem)50 50 FIND_PACKAGE(OpenAL REQUIRED) 51 51 FIND_PACKAGE(ALUT REQUIRED) … … 57 57 FIND_PACKAGE(Lua50 QUIET) 58 58 IF(NOT LUA50_FOUND) 59 60 61 62 63 64 59 # Remove variables set by Lua50 and try with Lua51 60 SET(LUA_INCLUDE_DIR) 61 SET(LUA_LIBRARY_lua) 62 SET(LUA_LIBRARY_lualib) 63 SET(LUA_LIBRARIES) 64 FIND_PACKAGE(Lua51 REQUIRED) 65 65 ENDIF(NOT LUA50_FOUND) 66 66 # Determine Lua version (Lua50 may also find Lua51) … … 71 71 FIND_PACKAGE(TCL QUIET) 72 72 IF(NOT TCL_FOUND) 73 73 MESSAGE(FATAL_ERROR "Tcl was not found.") 74 74 ENDIF(NOT TCL_FOUND) 75 75 76 76 # Hide variables created by CMake FindXX scripts 77 77 MARK_AS_ADVANCED( 78 79 80 81 78 LUA_LIBRARY_lua 79 LUA_LIBRARY_lualib 80 OPENAL_INCLUDE_DIR 81 OPENAL_LIBRARY 82 82 ) 83 83
Note: See TracChangeset
for help on using the changeset viewer.