Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN_test/src/orxonox/CMakeLists.txt @ 755

Last change on this file since 755 was 754, checked in by rgrieder, 17 years ago
  • some unstable changes to CMLs
File size: 966 bytes
Line 
1PROJECT(Orxonox)
2
3ADD_SUBDIRECTORY(core)
4ADD_SUBDIRECTORY(hud)
5ADD_SUBDIRECTORY(objects)
6ADD_SUBDIRECTORY(tools)
7ADD_SUBDIRECTORY(particle)
8
9INCLUDE_DIRECTORIES(tools)
10
11SET( ORXONOX_SRC_FILES
12  Orxonox.cc
13  SpaceshipSteering.cc
14  Main.cc
15  GraphicsEngine.cc
16)
17
18IF(WIN32)
19  SET( OBJECTS_SRC_FILES
20    ${OBJECTS_SRC_FILES}
21    ${TOOLS_SRC_FILES}
22  )
23ELSE(WIN32)
24  SET(LINK_OBJECTS_LIBRARY objects)
25  SET(LINK_TOOLS_LIBRARY tools)
26ENDIF(WIN32)
27
28IF(WIN32)
29#  ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES})
30ELSE(WIN32)
31  ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES})
32ENDIF(WIN32)
33
34ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES})
35
36SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" )
37
38TARGET_LINK_LIBRARIES( ../../bin/main
39  ${OGRE_LIBRARIES}
40  ${OIS_LIBRARIES}
41  loader
42  audio
43  network
44  core
45  hud
46  ${LINK_OBJECTS_LIBRARY}
47  ${LINK_TOOLS_LIBRARY}
48  util
49  particle
50)
51
Note: See TracBrowser for help on using the repository browser.