Debian Codegraph @

src/libs/store/tests/CMakeLists.txt

raw
1 include_directories( ${PLANODF_INCLUDES} )
2
3 # call: planstore_add_unit_test(<test-name> <sources> LINK_LIBRARIES <library> [<library> [...]] [GUI])
4 macro(PLANSTORE_ADD_UNIT_TEST _TEST_NAME)
5 ecm_add_test( ${ARGN}
6 TEST_NAME "Plan${_TEST_NAME}"
7 NAME_PREFIX "plan-store-"
8 )
9 endmacro()
10
11 ########### next target ###############
12
13 set(lzftest_SRCS ../KoLZF.cpp TestKoLZF.cpp )
14 planstore_add_unit_test(TestKoLZF ${lzftest_SRCS} LINK_LIBRARIES Qt::Test)
15
16 ########### next target ###############
17
18 set(xmlvectortest_SRCS ../KoLZF.cpp TestKoXmlVector.cpp )
19 planstore_add_unit_test(TestKoXmlVector ${xmlvectortest_SRCS} LINK_LIBRARIES Qt::Test)
20
21 ########### next target ###############
22
23 set(storedroptest_SRCS storedroptest.cpp )
24 add_executable(Planstoredroptest ${storedroptest_SRCS})
25 ecm_mark_as_test(Planstoredroptest)
26 target_link_libraries(Planstoredroptest calligraplanstore KF6::I18n Qt::Widgets)
27
28