Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/testing/test/util/CMakeLists.txt @ 9026

Last change on this file since 9026 was 9025, checked in by landauf, 13 years ago
  • added CTestCustom.cmake to add dependencies to $PATH when executing tests with ctest
  • added ARGS parameter for "test" target in make to pass command line options to ctest (make test ARGS="—some-ctest-option")
  • added unit tests for math functions in util library
File size: 247 bytes
Line 
1ADD_EXECUTABLE(
2    util_test
3    EXCLUDE_FROM_ALL
4    ${GMOCK_MAIN}
5    MathTest.cc
6)
7TARGET_LINK_LIBRARIES(util_test util gmock_orxonox)
8ADD_DEPENDENCIES(test util_test)
9
10ADD_TEST(util_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/util_test)
Note: See TracBrowser for help on using the repository browser.