Changeset 1070
- Timestamp:
- Apr 15, 2008, 1:03:09 PM (17 years ago)
- Location:
- code/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/CMakeLists.txt
r1021 r1070 2 2 #set some global variables, which are used throughout the project 3 3 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) 4 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin/lib)4 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin/lib) 5 5 6 6 OPTION(TESTING_ENABLED "Do you want to enable Testing") … … 57 57 SET(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -O2 -Wall -g -ggdb") 58 58 SET(CMAKE_LD_FLAGS "$ENV{LDFLAGS}") 59 SET(CMAKE_EXE_LINKER_FLAGS " --no-undefined") 60 SET(CMAKE_SHARED_LINKER_FLAGS " --no-undefined") 61 #SET(CMAKE_MODULE_LINKER_FLAGS " --no-undefined") 59 62 60 63 #This sets where to look for "Find*.cmake" files … … 72 75 FIND_PACKAGE(ZLIB) 73 76 FIND_PACKAGE(Lua) 74 #FIND_PACKAGE(ToLua)75 77 76 78 #Sets the search paths for the linking 77 LINK_DIRECTORIES(${OGRE_LIB_DIR} ${OIS_LIB_DIR} ${CEGUI_LIB_DIR} ${CEGUI_OGRE_LIB_DIR} ${ENet_LIBRARY} ${Boost_LIBRARY_DIRS} ${Zlib_LIBRARY_DIR} ${Lua_LIBRARIES} core objects loader network weapon classHierarchy audio) 79 LINK_DIRECTORIES( 80 ${OGRE_LIB_DIR} 81 ${OIS_LIB_DIR} 82 ${CEGUI_LIB_DIR} ${CEGUI_OGRE_LIB_DIR} 83 ${ENet_LIBRARY} 84 ${Boost_LIBRARY_DIRS} 85 ${Zlib_LIBRARY_DIR} 86 ${Lua_LIBRARIES} 87 # core objects loader network weapon classHierarchy audio 88 ) 89 78 90 #Sets the search path for include files 79 INCLUDE_DIRECTORIES(${OGRE_INCLUDE_DIR} ${OIS_INCLUDE_DIR} ${CEGUI_INCLUDE_DIR} ${CEGUI_OGRE_INCLUDE_DIR} ${ENet_INCLUDE_DIR} ${Boost_INCLUDE_DIRS} ${OPENAL_INCLUDE_DIR} ${ALUT_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR} ${OGG_INCLUDE_DIR} ${Lua_INCLUDE_DIR}) 91 INCLUDE_DIRECTORIES( 92 ${OGRE_INCLUDE_DIR} 93 ${OIS_INCLUDE_DIR} 94 ${CEGUI_INCLUDE_DIR} ${CEGUI_OGRE_INCLUDE_DIR} 95 ${ENet_INCLUDE_DIR} 96 ${Boost_INCLUDE_DIRS} 97 ${OPENAL_INCLUDE_DIR} ${ALUT_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR} ${OGG_INCLUDE_DIR} 98 ${Lua_INCLUDE_DIR} 99 ) 80 100 81 101 #Set the execution directory -
code/trunk/src/audio/CMakeLists.txt
r790 r1070 9 9 ADD_LIBRARY( audio ${AUDIO_SRC_FILES} ) 10 10 ELSE (WIN32) 11 ADD_LIBRARY( audio SHARED ${AUDIO_SRC_FILES} )11 ADD_LIBRARY( audio SHARED ${AUDIO_SRC_FILES} ) 12 12 ENDIF (WIN32) 13 14 SET_TARGET_PROPERTIES( audio PROPERTIES LINK_FLAGS "--no-undefined" )15 13 16 14 TARGET_LINK_LIBRARIES( audio -
code/trunk/src/core/CMakeLists.txt
r1052 r1070 30 30 31 31 ADD_LIBRARY( core SHARED ${CORE_SRC_FILES}) 32 SET_TARGET_PROPERTIES( core PROPERTIES LINK_FLAGS "--no-undefined" )33 32 34 33 TARGET_LINK_LIBRARIES( core -
code/trunk/src/network/CMakeLists.txt
r790 r1070 15 15 16 16 IF(WIN32) 17 ADD_LIBRARY( network ${NETWORK_SRC_FILES} )17 ADD_LIBRARY( network ${NETWORK_SRC_FILES} ) 18 18 ELSE(WIN32) 19 ADD_LIBRARY( network SHARED ${NETWORK_SRC_FILES} )19 ADD_LIBRARY( network SHARED ${NETWORK_SRC_FILES} ) 20 20 ENDIF(WIN32) 21 22 SET_TARGET_PROPERTIES( network PROPERTIES LINK_FLAGS "--no-undefined" )23 21 24 22 TARGET_LINK_LIBRARIES( network … … 28 26 core 29 27 ) 28 30 29 31 30 # build those parts only on request. -
code/trunk/src/orxonox/CMakeLists.txt
r1059 r1070 34 34 ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} ) 35 35 36 SET_TARGET_PROPERTIES( orxonox PROPERTIES LINK_FLAGS "--no-undefined" )37 38 36 TARGET_LINK_LIBRARIES( orxonox 39 37 ${OGRE_LIBRARIES} -
code/trunk/src/orxonox/hud/HUD.cc
r1056 r1070 50 50 setTargetWindowDistance(30); 51 51 52 setEnergyValue(60 .0);52 setEnergyValue(60); 53 53 54 54 setShieldLeftTopValue(true); -
code/trunk/src/util/CMakeLists.txt
r1052 r1070 18 18 19 19 ADD_LIBRARY( util SHARED ${UTIL_SRC_FILES} ) 20 SET_TARGET_PROPERTIES( util PROPERTIES LINK_FLAGS "--no-undefined" )21 20 22 21 IF(TESTING_ENABLED)
Note: See TracChangeset
for help on using the changeset viewer.