Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/test/util/CMakeLists.txt @ 10513

Last change on this file since 10513 was 10188, checked in by landauf, 10 years ago

change cmake policy in order to avoid warning because we currently can't solve this in another way.
added new build target to build tests without executing them.

  • Property svn:eol-style set to native
File size: 817 bytes
Line 
1ORXONOX_ADD_EXECUTABLE(
2    util_test
3    EXCLUDE_FROM_ALL
4    NO_INSTALL
5  LINK_LIBRARIES
6    util
7    gmock_orxonox
8  SOURCE_FILES
9    ${GMOCK_MAIN}
10    ConvertTest.cc
11    MathTest.cc
12    mboolTest.cc
13    MultiTypeTest.cc
14    OutputTest.cc
15    ScopeTest.cc
16    SharedPtrTest.cc
17    SingletonTest.cc
18    SmallObjectAllocatorTest.cc
19    StringUtilsTest.cc
20    SubStringTest.cc
21    VA_NARGSTest.cc
22
23    output/BaseWriterTest.cc
24    output/ConsoleWriterTest.cc
25    output/LogWriterTest.cc
26    output/MemoryWriterTest.cc
27    output/OutputDefinitionsTest.cc
28    output/OutputListenerTest.cc
29    output/OutputManagerTest.cc
30    output/OutputStreamTest.cc
31    output/SubcontextOutputListenerTest.cc
32)
33ADD_DEPENDENCIES(all_tests util_test)
34
35ADD_TEST(util_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/util_test --gtest_output=xml)
Note: See TracBrowser for help on using the repository browser.