|
Last change
on this file since 285 was
273,
checked in by rgrieder, 18 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 | |
|---|
| 1 | PROJECT(Orxonox) |
|---|
| 2 | |
|---|
| 3 | # create a few variables to simplify life |
|---|
| 4 | SET( 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 |
|---|
| 16 | ADD_EXECUTABLE(../bin/main ${ORXONOX_SRC} ) |
|---|
| 17 | |
|---|
| 18 | #add weapon source dir |
|---|
| 19 | ADD_SUBDIRECTORY(weapon) |
|---|
| 20 | ADD_SUBDIRECTORY(class_hierarchy) |
|---|
| 21 | ADD_SUBDIRECTORY(hud) |
|---|
| 22 | |
|---|
| 23 | #Links the executable against OGRE and OIS |
|---|
| 24 | TARGET_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.