Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/util/CMakeLists.txt @ 1065

Last change on this file since 1065 was 1052, checked in by landauf, 17 years ago

merged core2 back to trunk
there might be some errors, wasn't able to test it yet due to some strange g++ and linker behaviour.

File size: 596 bytes
Line 
1PROJECT(Orxonox)
2
3AUX_SOURCE_DIRECTORY(tinyxml TINYXML_SRC_FILES)
4AUX_SOURCE_DIRECTORY(tolua   TOLUA_SRC_FILES)
5
6SET (UTIL_SRC_FILES
7  ArgReader.cc
8  Math.cc
9  String.cc
10  Clipboard.cc
11  SubString.cc
12  MultiTypePrimitive.cc
13  MultiTypeString.cc
14  MultiTypeMath.cc
15  ${TINYXML_SRC_FILES}
16  ${TOLUA_SRC_FILES}
17)
18
19ADD_LIBRARY( util SHARED ${UTIL_SRC_FILES} )
20SET_TARGET_PROPERTIES( util PROPERTIES LINK_FLAGS "--no-undefined" )
21
22IF(TESTING_ENABLED)
23  ADD_SUBDIRECTORY(testing)
24ENDIF(TESTING_ENABLED)
25
26TARGET_LINK_LIBRARIES( util
27  ${OGRE_LIBRARIES}
28  ${Lua_LIBRARIES}
29)
Note: See TracBrowser for help on using the repository browser.