Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/orxonox/CMakeLists.txt @ 384

Last change on this file since 384 was 376, checked in by rgrieder, 17 years ago
  • removed the linker flags, since —no-undefined has no influence when building shared libraries (sorry Nico for you efforts) —no-allow-shlib-undefined should exist, but doesn't according to the man page, and it also doesn't work anyway.
  • removed linkage of ENet to the main executable as well (not necessary)
File size: 546 bytes
Line 
1PROJECT(Orxonox)
2
3ADD_SUBDIRECTORY(core)
4ADD_SUBDIRECTORY(hud)
5ADD_SUBDIRECTORY(objects)
6ADD_SUBDIRECTORY(weapon)
7
8
9SET( ORXONOX_SRC_FILES
10  orxonox.cc
11  orxonox_scene.cc
12  orxonox_ship.cc
13  run_manager.cc
14  spaceship_steering.cc
15  inertial_node.cc
16)
17
18ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES})
19
20SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" )
21
22TARGET_LINK_LIBRARIES( ../../bin/main
23  ${OGRE_LIBRARIES}
24  ${OIS_LIBRARIES}
25  loader
26  network
27  core
28  hud
29  objects
30  weapon
31)
Note: See TracBrowser for help on using the repository browser.