source:
code/branches/FICN/src/util/CMakeLists.txt
@
1255
Last change on this file since 1255 was 768, checked in by nicolasc, 17 years ago | |
---|---|
File size: 412 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 |
6 | ${TINYXML_SRC_FILES} | |
[744] | 7 | substring.cc |
8 | ) | |
9 | ||
10 | IF(WIN32) | |
[768] | 11 | ADD_LIBRARY( util ${UTIL_SRC_FILES} ) |
[744] | 12 | ELSE(WIN32) |
[768] | 13 | ADD_LIBRARY( util SHARED ${UTIL_SRC_FILES} ) |
[744] | 14 | ENDIF(WIN32) |
[768] | 15 | SET_TARGET_PROPERTIES( util PROPERTIES LINK_FLAGS "--no-undefined" ) |
[744] | 16 | |
17 | ||
[742] | 18 | IF(TESTING_ENABLED) |
[768] | 19 | ADD_SUBDIRECTORY(testing) |
[742] | 20 | ENDIF(TESTING_ENABLED) |
Note: See TracBrowser
for help on using the repository browser.