Changeset 376
- Timestamp:
- Dec 3, 2007, 10:14:04 PM (17 years ago)
- Location:
- code/branches/FICN
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/CMakeLists.txt
r371 r376 1 1 PROJECT(Orxonox) 2 #set some global variables, which are use throughout the project2 #set some global variables, which are used throughout the project 3 3 4 4 #Create some verbose output 5 5 SET(CMAKE_VERBOSE_MAKEFILE TRUE) 6 6 7 # set eNet search path7 # set boost search path 8 8 SET(Boost_INCLUDE_DIR "/usr/include/boost/") 9 9 … … 47 47 #This sets where to look for "Find*.cmake" files 48 48 SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) 49 # SET(BOOST_LIBDIR /usr/pack/boost-1.33.1-mo/i686-debian-linux3.1/lib/)50 # SET(BOOST_INCDIR /usr/pack/boost-1.33.1-mo/i686-debian-linux3.1/include/)51 49 52 50 #Performs the search and sets the variables … … 58 56 FIND_PACKAGE(Boost) 59 57 60 #Sets the search paths for the link ing58 #Sets the search paths for the linker 61 59 LINK_DIRECTORIES( 62 63 64 65 66 67 60 ${OGRE_LIB_DIR} 61 ${OIS_LIB_DIR} 62 ${CEGUI_LIB_DIR} 63 ${CEGUI_OGRE_LIB_DIR} 64 ${ENet_LIBRARY} 65 ${Boost_LIBRARY_DIRS} 68 66 ) 69 67 70 68 #Sets the search path for include files 71 69 INCLUDE_DIRECTORIES( 72 73 74 75 76 77 70 ${OGRE_INCLUDE_DIR} 71 ${OIS_INCLUDE_DIR} 72 ${CEGUI_INCLUDE_DIR} 73 ${CEGUI_OGRE_INCLUDE_DIR} 74 ${ENet_INCLUDE_DIR} 75 ${Boost_INCLUDE_DIRS} 78 76 ) 79 77 -
code/branches/FICN/src/loader/CMakeLists.txt
r358 r376 3 3 # TODO find a cleaner way to include xmlParser 4 4 SET( LOADER_SRC_FILES 5 6 5 LevelLoader.cc 6 ../xml/xmlParser.cc 7 7 ) 8 8 -
code/branches/FICN/src/network/CMakeLists.txt
r372 r376 2 2 3 3 SET( NETWORK_SRC_FILES 4 5 6 7 8 9 10 11 12 4 Client.cc 5 ClientConnection.cc 6 ConnectionManager.cc 7 GameStateManager.cc 8 PacketBuffer.cc 9 PacketDecoder.cc 10 PacketGenerator.cc 11 Server.cc 12 Synchronisable.cc 13 13 ) 14 14 15 15 ADD_LIBRARY(network SHARED ${NETWORK_SRC_FILES}) 16 TARGET_LINK_LIBRARIES(network ${ENet_LIBRARY} ${Boost_LIBRARIES}) 17 SET_TARGET_PROPERTIES(network PROPERTIES LINK_FLAGS "--no-undefined") 16 TARGET_LINK_LIBRARIES(network ${ENet_LIBRARY} ${Boost_thread_LIBRARIES}) -
code/branches/FICN/src/orxonox/CMakeLists.txt
r373 r376 1 1 PROJECT(Orxonox) 2 2 3 ADD_SUBDIRECTORY(core) 4 ADD_SUBDIRECTORY(hud) 5 ADD_SUBDIRECTORY(objects) 6 ADD_SUBDIRECTORY(weapon) 7 8 3 9 SET( ORXONOX_SRC_FILES 4 5 6 7 8 10 orxonox.cc 11 orxonox_scene.cc 12 orxonox_ship.cc 13 run_manager.cc 14 spaceship_steering.cc 9 15 inertial_node.cc 10 16 ) … … 14 20 SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" ) 15 21 16 17 ADD_SUBDIRECTORY(core)18 ADD_SUBDIRECTORY(hud)19 ADD_SUBDIRECTORY(objects)20 ADD_SUBDIRECTORY(weapon)21 22 23 22 TARGET_LINK_LIBRARIES( ../../bin/main 24 ${OGRE_LIBRARIES} 25 ${OIS_LIBRARIES} 26 ${ENet_LIBRARY} 27 loader 28 network 29 core 30 hud 31 objects 32 weapon 23 ${OGRE_LIBRARIES} 24 ${OIS_LIBRARIES} 25 loader 26 network 27 core 28 hud 29 objects 30 weapon 33 31 ) -
code/branches/FICN/src/orxonox/core/CMakeLists.txt
r373 r376 2 2 3 3 SET( CORE_SRC_FILES 4 5 6 7 8 4 Factory.cc 5 IdentifierList.cc 6 Identifier.cc 7 MetaObjectList.cc 8 OrxonoxClass.cc 9 9 ) 10 10 11 11 ADD_LIBRARY(core SHARED ${CORE_SRC_FILES}) 12 SET_TARGET_PROPERTIES(core PROPERTIES LINK_FLAGS "--no-undefined" ) -
code/branches/FICN/src/orxonox/hud/CMakeLists.txt
r373 r376 2 2 3 3 SET( HUD_SRC_FILES 4 5 4 hud_overlay.cc 5 test_overlay.cc 6 6 ) 7 7 8 LINK_DIRECTORIES(.)9 10 8 ADD_LIBRARY(hud SHARED ${HUD_SRC_FILES}) 11 SET_TARGET_PROPERTIES(hud PROPERTIES LINK_FLAGS "--no-undefined" ) -
code/branches/FICN/src/orxonox/objects/CMakeLists.txt
r373 r376 2 2 3 3 SET( OBJECTS_SRC_FILES 4 5 6 7 4 BaseObject.cc 5 test1.cc 6 test2.cc 7 test3.cc 8 8 ) 9 9 10 10 ADD_LIBRARY(objects SHARED ${OBJECTS_SRC_FILES}) 11 SET_TARGET_PROPERTIES(objects PROPERTIES LINK_FLAGS "--no-undefined" ) -
code/branches/FICN/src/orxonox/weapon/CMakeLists.txt
r373 r376 2 2 3 3 SET( WEAPON_SRC_FILES 4 5 6 7 8 9 4 ammunition_dump.cc 5 barrel_gun.cc 6 base_weapon.cc 7 bullet.cc 8 bullet_manager.cc 9 weapon_station.cc 10 10 ) 11 11 12 12 ADD_LIBRARY(weapon SHARED ${WEAPON_SRC_FILES}) 13 SET_TARGET_PROPERTIES(weapon PROPERTIES LINK_FLAGS "--no-undefined" )
Note: See TracChangeset
for help on using the changeset viewer.