Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/clangenb/test/core/CMakeLists.txt @ 10385

Last change on this file since 10385 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: 887 bytes
Line 
1ORXONOX_ADD_EXECUTABLE(
2    core_test
3    EXCLUDE_FROM_ALL
4    NO_INSTALL
5  LINK_LIBRARIES
6    core
7    gmock_orxonox
8  SOURCE_FILES
9    ${GMOCK_MAIN}
10    class/IdentifiableTest.cc
11    class/IdentifierTest.cc
12    class/IdentifierClassHierarchyTest.cc
13    class/IdentifierSimpleClassHierarchyTest.cc
14    class/IdentifierExternalClassHierarchyTest.cc
15    class/OrxonoxClassTest.cc
16    class/OrxonoxInterfaceTest.cc
17    class/SubclassIdentifierTest.cc
18    class/SuperTest.cc
19    command/CommandTest.cc
20    object/ClassFactoryTest.cc
21    object/ContextTest.cc
22    object/DestroyableTest.cc
23    object/IteratorTest.cc
24    object/ListableTest.cc
25    object/ObjectListBaseTest.cc
26    object/ObjectListIteratorTest.cc
27    object/SmartPtrTest.cc
28    object/WeakPtrTest.cc
29)
30ADD_DEPENDENCIES(all_tests core_test)
31
32ADD_TEST(core_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/core_test --gtest_output=xml)
Note: See TracBrowser for help on using the repository browser.