Main Lemma Repository
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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. )