Changeset 354
- Timestamp:
- Nov 29, 2007, 6:04:53 PM (17 years ago)
- Location:
- code/branches/FICN
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/CMakeLists.txt
r341 r354 1 1 PROJECT(Orxonox) 2 3 2 #set some global variables, which are use throughout the project 4 3 … … 9 8 SET(Boost_INCLUDE_DIR "/usr/include/boost/") 10 9 11 # force-set the compile on tardis machines, as default points to g++-3.310 # force-set the compile on tardis machines, as default points to g++-3.3 12 11 # only run this test on a lunix/unix machine 13 12 IF (UNIX) 13 14 14 FIND_PROGRAM(UNAME_CMD "uname" 15 15 PATHS "/usr/bin /bin") 16 16 IF(NOT UNAME_CMD) 17 17 MESSAGE("Unable to find uname. Tardis-Check cannot be done.") 18 18 ENDIF(NOT UNAME_CMD) 19 20 # run uname -n to get nodename 19 21 EXECUTE_PROCESS( 20 21 22 23 22 COMMAND "${UNAME_CMD}" "-n" 23 RESULT_VARIABLE UNAME_RV 24 ERROR_VARIABLE UNAME_EV 25 OUTPUT_VARIABLE UNAME_OV) 24 26 25 27 IF (NOT "${UNAME_RV}" STREQUAL "0") 26 28 MESSAGE("ERROR: uname terminated unclean.") 27 29 ENDIF (NOT "${UNAME_RV}" STREQUAL "0") 28 # check wheter we are on a tardis INCLUDEmachine 30 31 # check wheter we are on a tardis machine 29 32 IF ("${UNAME_OV}" MATCHES "tardis") 30 33 SET (IS_TARDIS "tardis") 31 34 ENDIF ("${UNAME_OV}" MATCHES "tardis") 35 32 36 # if on tardis change compiler 33 37 IF (IS_TARDIS) 34 MESSAGE("System is a TARDIS: Setting Compiler to g++-4.1.1")35 SET(CMAKE_CXX_COMPILER "g++-4.1.1")36 # reset eNet serach path37 SET(Boost_INCLUDE_DIR "/usr/pack/boost-1.34.1-sd/i686-debian-linux3.1/include/boost-1_34_1")38 MESSAGE("System is a TARDIS: Setting Compiler to g++-4.1.1") 39 SET(CMAKE_CXX_COMPILER "g++-4.1.1") 40 # reset eNet serach path 41 SET(Boost_INCLUDE_DIR "/usr/pack/boost-1.34.1-sd/i686-debian-linux3.1/include/boost-1_34_1") 38 42 ENDIF(IS_TARDIS) 43 39 44 ENDIF (UNIX) 40 45 … … 76 81 #add main source dir 77 82 ADD_SUBDIRECTORY(src) 78 -
code/branches/FICN/src/CMakeLists.txt
r341 r354 6 6 ADD_SUBDIRECTORY(network) 7 7 ADD_SUBDIRECTORY(orxonox) 8 9 # xml get handled by loader -
code/branches/FICN/src/orxonox/core/CMakeLists.txt
r348 r354 9 9 ) 10 10 11 ADD_LIBRARY(core STATIC${CORE_SRC_FILES})11 ADD_LIBRARY(core ${CORE_SRC_FILES}) -
code/branches/FICN/src/orxonox/hud/CMakeLists.txt
r348 r354 8 8 LINK_DIRECTORIES(.) 9 9 10 ADD_LIBRARY(hud STATIC${HUD_SRC_FILES})10 ADD_LIBRARY(hud ${HUD_SRC_FILES}) -
code/branches/FICN/src/orxonox/objects/CMakeLists.txt
r348 r354 8 8 ) 9 9 10 ADD_LIBRARY(objects STATIC${OBJECTS_SRC_FILES})10 ADD_LIBRARY(objects ${OBJECTS_SRC_FILES})
Note: See TracChangeset
for help on using the changeset viewer.