source:
code/trunk/src/util/CMakeLists.txt
@
983
Last change on this file since 983 was 871, checked in by landauf, 17 years ago | |
---|---|
File size: 475 bytes |
Rev | Line | |
---|---|---|
[742] | 1 | PROJECT(Orxonox) |
2 | ||
[768] | 3 | AUX_SOURCE_DIRECTORY(tinyxml TINYXML_SRC_FILES) |
[742] | 4 | |
[768] | 5 | SET (UTIL_SRC_FILES |
[871] | 6 | Math.cc |
7 | String.cc | |
8 | SubString.cc | |
9 | MultiTypePrimitive.cc | |
10 | MultiTypeString.cc | |
11 | MultiTypeMath.cc | |
[768] | 12 | ${TINYXML_SRC_FILES} |
[744] | 13 | ) |
14 | ||
[871] | 15 | ADD_LIBRARY( util SHARED ${UTIL_SRC_FILES} ) |
[768] | 16 | SET_TARGET_PROPERTIES( util PROPERTIES LINK_FLAGS "--no-undefined" ) |
[744] | 17 | |
[742] | 18 | IF(TESTING_ENABLED) |
[768] | 19 | ADD_SUBDIRECTORY(testing) |
[742] | 20 | ENDIF(TESTING_ENABLED) |
[871] | 21 | |
22 | TARGET_LINK_LIBRARIES( util | |
23 | ${OGRE_LIBRARIES} | |
24 | ) |
Note: See TracBrowser
for help on using the repository browser.