| Line | |
|---|
| 1 | PROJECT(Orxonox) |
|---|
| 2 | |
|---|
| 3 | # create a few variables to simplify life |
|---|
| 4 | SET(SRC_FILES |
|---|
| 5 | orxonox.cc |
|---|
| 6 | main.cc |
|---|
| 7 | camera_manager.cc |
|---|
| 8 | inertial_node.cc |
|---|
| 9 | ogre_control.cc |
|---|
| 10 | orxonox_scene.cc |
|---|
| 11 | orxonox_ship.cc |
|---|
| 12 | run_manager.cc) |
|---|
| 13 | |
|---|
| 14 | SET(INC_FILES |
|---|
| 15 | camera_manager.h |
|---|
| 16 | inertial_node.h |
|---|
| 17 | ogre_control.h |
|---|
| 18 | orxonox.h |
|---|
| 19 | orxonox_prerequisites.h |
|---|
| 20 | orxonox_scene.h |
|---|
| 21 | orxonox_ship.h |
|---|
| 22 | run_manager.h) |
|---|
| 23 | |
|---|
| 24 | #Creates an executable |
|---|
| 25 | ADD_EXECUTABLE(../bin/main ${SRC_FILES, weapon/WPN_CC_FILES} ${INC_FILES, weapon/WPN_H_FILES}) |
|---|
| 26 | #Links the executable against OGRE and OIS |
|---|
| 27 | TARGET_LINK_LIBRARIES(../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES}) |
|---|
| 28 | |
|---|
| 29 | #add weapon source dir |
|---|
| 30 | ADD_SUBDIRECTORY(weapon) |
|---|
Note: See
TracBrowser
for help on using the repository browser.