Rev | Line | |
---|
[12] | 1 | PROJECT (Tutorial) |
---|
| 2 | |
---|
[13] | 3 | SET (MAIN_SRC main.cpp ExampleApplication.h ExampleFrameListener.h ExampleLoadingBar.h ) |
---|
[12] | 4 | |
---|
| 5 | ADD_EXECUTABLE (main ${MAIN_SRC}) |
---|
| 6 | |
---|
| 7 | # find OGRE |
---|
| 8 | FIND_LIBRARY (OGRE_LIBS NAMES OGRE |
---|
[14] | 9 | PATH /usr/lib /usr/local/lib /usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/lib/pkgconfig) |
---|
[12] | 10 | IF (OGRE_LIBS) |
---|
| 11 | TARGET_ADD_LIBRARY (main OGRE_LIBS) |
---|
| 12 | ENDIF (OGRE_LIBS) |
---|
[14] | 13 | |
---|
| 14 | # find OIS |
---|
| 15 | FIND_LIBRARY (OIS_LIBS NAMES OIS |
---|
| 16 | PATH /usr/lib /usr/local/lib /usr/pack/ois-1.0-sd/i686-debian-linux3.1/lib/pkgconfig) |
---|
| 17 | IF (OIS_LIBS) |
---|
[15] | 18 | ADD_LIBRARY (OIS_LIBS) |
---|
[14] | 19 | ENDIF (OIS_LIBS) |
---|
| 20 | |
---|
[15] | 21 | INCLUDE_DIRECTORIES (main . /usr/pack/ois-1.0-sd/i686-debian-linux3.1/include /usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/include) |
---|
Note: See
TracBrowser
for help on using the repository browser.