Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/tutorial/Tutorial/CMakeLists.txt @ 23

Last change on this file since 23 was 20, checked in by nicolasc, 17 years ago

bump

File size: 687 bytes
Line 
1PROJECT (Tutorial)
2
3SET (MAIN_SRC main.cpp)
4
5ADD_EXECUTABLE (main ${MAIN_SRC})
6
7# find OGRE
8FIND_LIBRARY (OGRE_LIBS NAMES OGRE
9  PATH /usr/lib /usr/local/lib /usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/lib/pkgconfig)
10IF (OGRE_LIBS)
11  TARGET_ADD_LIBRARY (main OGRE_LIBS)
12  TARGET_LINK_LIBRARIES (main OGRE_LIBS)
13ENDIF (OGRE_LIBS)
14
15# find OIS
16FIND_LIBRARY (OIS_LIBS NAMES OIS
17  PATH /usr/lib /usr/local/lib /usr/pack/ois-1.0-sd/i686-debian-linux3.1/lib/pkgconfig)
18IF (OIS_LIBS)
19  ADD_LIBRARY (OIS_LIBS)
20  TARGET_LINK_LIBRARIES (main OIS_LIBS)
21ENDIF (OIS_LIBS)
22
23INCLUDE_DIRECTORIES (. /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.