- Timestamp:
- Jan 29, 2009, 6:59:19 PM (16 years ago)
- Location:
- code/branches/buildsystem2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/CMakeLists.txt
r2597 r2599 1 PROJECT(Orxonox )1 PROJECT(Orxonox C CXX) 2 2 3 3 CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR) 4 4 5 ############### Various Options ################# 5 SET(ORXONOX_VERSION_MAJOR 0) 6 SET(ORXONOX_VERSION_MINOR 1) 7 SET(ORXONOX_VERSION_PATCH 0) 8 SET(ORXONOX_VERSION 0.1.0) 6 9 7 10 # Keep devs from using the root directory as binary directory (messes up the source tree) … … 11 14 12 15 # This sets where to look for modules (e.g. "Find*.cmake" files) 13 SET(CMAKE_MODULE_PATH ${CMAKE_ CURRENT_SOURCE_DIR}/cmake)16 SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) 14 17 15 18 # Set binary output directories … … 91 94 92 95 ADD_SUBDIRECTORY(src) 96 97 # Configure the binary output directory 93 98 ADD_SUBDIRECTORY(bin-config) -
code/branches/buildsystem2/src/orxonox/CMakeLists.txt
r2590 r2599 27 27 GET_TARGET_PROPERTY(_exec_loc orxonox LOCATION) 28 28 GET_FILENAME_COMPONENT(_exec_name ${_exec_loc} NAME) 29 SET(ORXONOX_EXECUTABLE_NAME ${_exec_name} CACHE STRING "") 30 MARK_AS_ADVANCED(ORXONOX_EXECUTABLE_NAME) 29 SET(ORXONOX_EXECUTABLE_NAME ${_exec_name} CACHE INTERNAL "") 31 30 32 31 IF(NETWORKTRAFFIC_TESTING_ENABLED) 33 32 34 SET( 33 SET(ORXONOXS_SRC_FILES 35 34 GraphicsEngine.cc 36 35 objects/Camera.cc … … 38 37 ) 39 38 40 ADD_LIBRARY(orxonoxs SHARED ${ORXONOX _SRC_FILES})39 ADD_LIBRARY(orxonoxs SHARED ${ORXONOXS_SRC_FILES}) 41 40 ENDIF(NETWORKTRAFFIC_TESTING_ENABLED) 42 41 -
code/branches/buildsystem2/src/tolua/CMakeLists.txt
r2588 r2599 32 32 33 33 # Set some variables to the cache in order to use them in the TOLUA macro 34 SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK}" CACHE STRING"")34 SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK}" CACHE INTERNAL "") 35 35 SET(TOLUA_PARSER_DEPENDENCIES 36 36 toluaexe_orxonox … … 58 58 ${CMAKE_CURRENT_SOURCE_DIR}/lua/doit.lua 59 59 60 CACHE STRING""60 CACHE INTERNAL "" 61 61 ) 62 MARK_AS_ADVANCED(TOLUA_PARSER_SOURCE TOLUA_PARSER_DEPENDENCIES)
Note: See TracChangeset
for help on using the changeset viewer.