| Line | |
|---|
| 1 | PROJECT(Orxonox) |
|---|
| 2 | |
|---|
| 3 | # create a few variables to simplify life |
|---|
| 4 | SET(SRC_FILES |
|---|
| 5 | ammunition_dump.cc |
|---|
| 6 | bullet.cc |
|---|
| 7 | bullet_manager.cc |
|---|
| 8 | weapon_manager.cc) |
|---|
| 9 | SET(INC_FILES |
|---|
| 10 | ammunition_dump.h |
|---|
| 11 | bullet.h |
|---|
| 12 | bullet_manager.h |
|---|
| 13 | weapon.h |
|---|
| 14 | weapon_manager.h) |
|---|
| 15 | |
|---|
| 16 | #Creates an executable |
|---|
| 17 | ADD_EXECUTABLE(../../bin/main ${SRC_FILES} ${INC_FILES}) |
|---|
| 18 | #Links the executable against OGRE and OIS |
|---|
| 19 | TARGET_LINK_LIBRARIES(../../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES}) |
|---|
Note: See
TracBrowser
for help on using the repository browser.