Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 273 was 273, checked in by rgrieder, 16 years ago
  • fixed the last bug (BaseObjet.cc —> BaseObject.cc)
  • removed the header file names in the CMakeLists.txt (src/weapon and src)
File size: 713 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
15#Creates an executable
16ADD_EXECUTABLE(../bin/main ${ORXONOX_SRC} )
17
18#add weapon source dir
19ADD_SUBDIRECTORY(weapon)
20ADD_SUBDIRECTORY(class_hierarchy)
21ADD_SUBDIRECTORY(hud)
22
23#Links the executable against OGRE and OIS
24TARGET_LINK_LIBRARIES(../bin/main
25        WEAPON
26        CLASS_HIERARCHY
27        HUD
28        ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES}
29)
30
31#TARGET_LINK_LIBRARIES(../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES})
Note: See TracBrowser for help on using the repository browser.