CMakeLists.txt 390 B

123456789101112131415161718192021
  1. set(KIT ${PROJECT_NAME})
  2. create_test_sourcelist(Tests ${KIT}CppTests.cpp
  3. ctkModuleDescriptionTest.cpp
  4. )
  5. SET (TestsToRun ${Tests})
  6. REMOVE (TestsToRun ${KIT}CppTests.cpp)
  7. set(LIBRARY_NAME ${PROJECT_NAME})
  8. add_executable(${KIT}CppTests ${Tests})
  9. target_link_libraries(${KIT}CppTests ${LIBRARY_NAME} ${CTK_BASE_LIBRARIES})
  10. #
  11. # Add Tests
  12. #
  13. SIMPLE_TEST( ctkModuleDescriptionTest.cpp )