Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 270 was 270, checked in by rgrieder, 16 years ago
  • added old version of class hierarchy in order to make things work (is not actually needed, but will be later anyway)
  • added the hud wrapper and the media files required
File size: 860 bytes
RevLine 
[171]1PROJECT(Orxonox)
2
3# create a few variables to simplify life
[267]4SET( ORXONOX_SRC
[171]5        camera_manager.cc
[191]6        inertial_node.cc
[267]7        main.cc
[171]8        ogre_control.cc
[267]9        orxonox.cc
[171]10        orxonox_scene.cc
11        orxonox_ship.cc
[267]12        run_manager.cc
[191]13
[171]14        camera_manager.h
[191]15        inertial_node.h
[180]16        ogre_control.h
[171]17        orxonox.h
18        orxonox_prerequisites.h
19        orxonox_scene.h
20        orxonox_ship.h
[267]21        run_manager.h
22   )
[171]23
24#Creates an executable
[267]25ADD_EXECUTABLE(../bin/main ${ORXONOX_SRC} )
[171]26
[206]27#add weapon source dir
[270]28ADD_SUBDIRECTORY(weapon)
29ADD_SUBDIRECTORY(class_hierarchy)
30ADD_SUBDIRECTORY(hud)
[267]31
32#Links the executable against OGRE and OIS
[270]33TARGET_LINK_LIBRARIES(../bin/main
34        WEAPON
35        CLASS_HIERARCHY
36        HUD
37        ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES}
38        )
[267]39#TARGET_LINK_LIBRARIES(../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES})
Note: See TracBrowser for help on using the repository browser.