Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/xml/src/CMakeLists.txt @ 359

Last change on this file since 359 was 235, checked in by nicolasc, 17 years ago

example included subdir in CML

File size: 527 bytes
RevLine 
[135]1PROJECT(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)
7SET(SRC_FILES orxonox.cc  loader/LevelLoader.cc)
8SET(INC_FILES loader/LevelLoader.h)
[164]9
[135]10#Creates an executable
11ADD_EXECUTABLE(../bin/main ${SRC_FILES} ${INC_FILES})
12#Links the executable against OGRE and OIS
[235]13TARGET_LINK_LIBRARIES(../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES} xml)
[135]14
[235]15ADD_SUBDIRECTORY(xml)
Note: See TracBrowser for help on using the repository browser.