12345678910111213141516171819202122 |
- #add_executable(testOne testOne.cpp)
- #add_executable(testTwo testTwo.cpp)
- #add_test( testLemmaCoreOne testOne )
- #add_test( testLemmaCoreTwo testTwo )
-
- include_directories(${CXXTEST_INCLUDE_DIR})
- CXXTEST_ADD_TEST(unittest_LemmaCore_GetNameCheck GetNameCheck.cc ${CMAKE_CURRENT_SOURCE_DIR}/GetNameCheck.h)
- target_link_libraries(unittest_LemmaCore_GetNameCheck "lemmacore")
-
- CXXTEST_ADD_TEST(unittest_LemmaCore_SerializeCheck SerializeCheck.cc ${CMAKE_CURRENT_SOURCE_DIR}/SerializeCheck.h)
- target_link_libraries(unittest_LemmaCore_SerializeCheck "lemmacore")
-
- CXXTEST_ADD_TEST(unittest_LemmaCore_CopyDisableCheck CopyDisableCheck.cc ${CMAKE_CURRENT_SOURCE_DIR}/CopyDisableCheck.h)
- target_link_libraries(unittest_LemmaCore_CopyDisableCheck "lemmacore")
-
- set_target_properties( unittest_LemmaCore_GetNameCheck
- unittest_LemmaCore_SerializeCheck
- unittest_LemmaCore_CopyDisableCheck
- PROPERTIES
- CXX_STANDARD 14
- CXX_STANDARD_REQUIRED ON
- )
|