Main Lemma Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 978B

12345678910111213141516171819202122
  1. #add_executable(testOne testOne.cpp)
  2. #add_executable(testTwo testTwo.cpp)
  3. #add_test( testLemmaCoreOne testOne )
  4. #add_test( testLemmaCoreTwo testTwo )
  5. include_directories(${CXXTEST_INCLUDE_DIR})
  6. CXXTEST_ADD_TEST(unittest_LemmaCore_GetNameCheck GetNameCheck.cc ${CMAKE_CURRENT_SOURCE_DIR}/GetNameCheck.h)
  7. target_link_libraries(unittest_LemmaCore_GetNameCheck "lemmacore")
  8. CXXTEST_ADD_TEST(unittest_LemmaCore_SerializeCheck SerializeCheck.cc ${CMAKE_CURRENT_SOURCE_DIR}/SerializeCheck.h)
  9. target_link_libraries(unittest_LemmaCore_SerializeCheck "lemmacore")
  10. CXXTEST_ADD_TEST(unittest_LemmaCore_CopyDisableCheck CopyDisableCheck.cc ${CMAKE_CURRENT_SOURCE_DIR}/CopyDisableCheck.h)
  11. target_link_libraries(unittest_LemmaCore_CopyDisableCheck "lemmacore")
  12. set_target_properties( unittest_LemmaCore_GetNameCheck
  13. unittest_LemmaCore_SerializeCheck
  14. unittest_LemmaCore_CopyDisableCheck
  15. PROPERTIES
  16. CXX_STANDARD 14
  17. CXX_STANDARD_REQUIRED ON
  18. )