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
Line 
1PROJECT(Orxonox)
2
3# create a few variables to simplify life
4SET( ORXONOX_SRC
5        camera_manager.cc
6        inertial_node.cc
7        main.cc
8        ogre_control.cc
9        orxonox.cc
10        orxonox_scene.cc
11        orxonox_ship.cc
12        run_manager.cc
13
14        camera_manager.h
15        inertial_node.h
16        ogre_control.h
17        orxonox.h
18        orxonox_prerequisites.h
19        orxonox_scene.h
20        orxonox_ship.h
21        run_manager.h
22   )
23
24#Creates an executable
25ADD_EXECUTABLE(../bin/main ${ORXONOX_SRC} )
26
27#add weapon source dir
28ADD_SUBDIRECTORY(weapon)
29ADD_SUBDIRECTORY(class_hierarchy)
30ADD_SUBDIRECTORY(hud)
31
32#Links the executable against OGRE and OIS
33TARGET_LINK_LIBRARIES(../bin/main
34        WEAPON
35        CLASS_HIERARCHY
36        HUD
37        ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES}
38        )
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.