|
Last change
on this file since 294 was
283,
checked in by rgrieder, 18 years ago
|
- removed the loader files due to several compiler errors (not needed in this branch anyway)
- added a suitable CMake concept for subfolders (in this case just the one)
- hud not yet implemented in orxonox.cc (however it is in main_reto branch)
|
|
File size:
385 bytes
|
| Line | |
|---|
| 1 | PROJECT(Orxonox) |
|---|
| 2 | |
|---|
| 3 | # create a few variables to simplify life |
|---|
| 4 | SET( ORXONOX_SRC |
|---|
| 5 | orxonox.cc |
|---|
| 6 | ) |
|---|
| 7 | |
|---|
| 8 | #Creates an executable |
|---|
| 9 | ADD_EXECUTABLE(../bin/main ${ORXONOX_SRC} ) |
|---|
| 10 | |
|---|
| 11 | #add weapon source dir |
|---|
| 12 | ADD_SUBDIRECTORY(hud) |
|---|
| 13 | |
|---|
| 14 | #Links the executable against OGRE and OIS |
|---|
| 15 | TARGET_LINK_LIBRARIES(../bin/main |
|---|
| 16 | HUD |
|---|
| 17 | ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES} |
|---|
| 18 | ) |
|---|
Note: See
TracBrowser
for help on using the repository browser.