|
Last change
on this file since 430 was
235,
checked in by nicolasc, 18 years ago
|
|
example included subdir in CML
|
|
File size:
527 bytes
|
| Rev | Line | |
|---|
| [135] | 1 | PROJECT(Orxonox) |
|---|
| 2 | |
|---|
| 3 | # create a few variables to simplify life |
|---|
| 4 | |
|---|
| [235] | 5 | # SET(SRC_FILES orxonox.cc loader/LevelLoader.cc xml/xmlParser.cc) |
|---|
| 6 | # SET(INC_FILES loader/LevelLoader.h xml/xmlParser.h) |
|---|
| 7 | SET(SRC_FILES orxonox.cc loader/LevelLoader.cc) |
|---|
| 8 | SET(INC_FILES loader/LevelLoader.h) |
|---|
| [164] | 9 | |
|---|
| [135] | 10 | #Creates an executable |
|---|
| 11 | ADD_EXECUTABLE(../bin/main ${SRC_FILES} ${INC_FILES}) |
|---|
| 12 | #Links the executable against OGRE and OIS |
|---|
| [235] | 13 | TARGET_LINK_LIBRARIES(../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES} xml) |
|---|
| [135] | 14 | |
|---|
| [235] | 15 | ADD_SUBDIRECTORY(xml) |
|---|
Note: See
TracBrowser
for help on using the repository browser.