Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/main_reto/src/CMakeLists.txt @ 311

Last change on this file since 311 was 289, checked in by rgrieder, 18 years ago
  • updated the source files and CMLs
  • adjusted resources.cfg for the new hud overlay
File size: 693 bytes
RevLine 
[171]1PROJECT(Orxonox)
2
3# create a few variables to simplify life
[267]4SET( ORXONOX_SRC
[191]5        inertial_node.cc
[267]6        main.cc
[171]7        ogre_control.cc
[267]8        orxonox.cc
[171]9        orxonox_scene.cc
10        orxonox_ship.cc
[267]11        run_manager.cc
[273]12)
[191]13
[171]14#Creates an executable
[267]15ADD_EXECUTABLE(../bin/main ${ORXONOX_SRC} )
[171]16
[206]17#add weapon source dir
[270]18ADD_SUBDIRECTORY(weapon)
19ADD_SUBDIRECTORY(class_hierarchy)
20ADD_SUBDIRECTORY(hud)
[267]21
22#Links the executable against OGRE and OIS
[270]23TARGET_LINK_LIBRARIES(../bin/main
24        WEAPON
25        CLASS_HIERARCHY
26        HUD
27        ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES}
[273]28)
29
[267]30#TARGET_LINK_LIBRARIES(../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES})
Note: See TracBrowser for help on using the repository browser.