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
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
[273]13)
[191]14
[171]15#Creates an executable
[267]16ADD_EXECUTABLE(../bin/main ${ORXONOX_SRC} )
[171]17
[206]18#add weapon source dir
[270]19ADD_SUBDIRECTORY(weapon)
20ADD_SUBDIRECTORY(class_hierarchy)
21ADD_SUBDIRECTORY(hud)
[267]22
23#Links the executable against OGRE and OIS
[270]24TARGET_LINK_LIBRARIES(../bin/main
25        WEAPON
26        CLASS_HIERARCHY
27        HUD
28        ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES}
[273]29)
30
[267]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.