Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 10312 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
RevLine 
[9474]1ORXONOX_ADD_EXECUTABLE(
[9114]2    util_test
3    EXCLUDE_FROM_ALL
[9475]4    NO_INSTALL
[9474]5  LINK_LIBRARIES
6    util
[9475]7    gmock_orxonox
[9474]8  SOURCE_FILES
[9114]9    ${GMOCK_MAIN}
10    ConvertTest.cc
11    MathTest.cc
12    mboolTest.cc
[9221]13    MultiTypeTest.cc
[9529]14    OutputTest.cc
[9114]15    ScopeTest.cc
16    SharedPtrTest.cc
17    SingletonTest.cc
18    SmallObjectAllocatorTest.cc
19    StringUtilsTest.cc
20    SubStringTest.cc
21    VA_NARGSTest.cc
[9529]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
[9114]32)
[10188]33ADD_DEPENDENCIES(all_tests util_test)
[9114]34
[9478]35ADD_TEST(util_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/util_test --gtest_output=xml)
Note: See TracBrowser for help on using the repository browser.