kdelibs/kdeui/tests/kconfig_compiler/CMakeLists.txt

95 lines
2.1 KiB
Text
Raw Normal View History

2015-09-05 05:16:46 +00:00
include_directories(${KDE4_KDEUI_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR})
2014-11-13 01:04:59 +02:00
#test5.cpp test5.h: $(srcdir)/test5.kcfg ../kconfig_compiler $(srcdir)/test5.kcfgc
# ../kconfig_compiler $(srcdir)/test5.kcfg $(srcdir)/test5.kcfgc
2015-09-05 05:16:46 +00:00
macro(ADD_KCONFIG_TEST _testName)
set(_testSrc ${ARGN})
kde4_add_kcfg_files(_testSrc ${_testName}.cpp)
2014-11-13 01:04:59 +02:00
2015-09-05 05:16:46 +00:00
kde4_add_manual_test(${_testName} ${_testSrc})
2014-11-13 01:04:59 +02:00
target_link_libraries(${_testName} ${QT_QTTEST_LIBRARY} kdecore kdeui)
2015-09-05 05:16:46 +00:00
endmacro()
2014-11-13 01:04:59 +02:00
########### next target ###############
2015-09-05 05:16:46 +00:00
ADD_KCONFIG_TEST(test1 test1main.cpp)
2014-11-13 01:04:59 +02:00
########### next target ###############
ADD_KCONFIG_TEST(test2 test2main.cpp)
2014-11-13 01:04:59 +02:00
########### next target ###############
ADD_KCONFIG_TEST(test3 test3main.cpp)
2014-11-13 01:04:59 +02:00
########### next target ###############
ADD_KCONFIG_TEST(test3a test3amain.cpp)
2014-11-13 01:04:59 +02:00
########### next target ###############
ADD_KCONFIG_TEST(test4 test4main.cpp)
2014-11-13 01:04:59 +02:00
########### next target ###############
ADD_KCONFIG_TEST(test5 test5main.cpp)
2014-11-13 01:04:59 +02:00
########### next target ###############
ADD_KCONFIG_TEST(test6 test6main.cpp)
2014-11-13 01:04:59 +02:00
2015-09-05 05:16:46 +00:00
########### next target ###############
2014-11-13 01:04:59 +02:00
ADD_KCONFIG_TEST(test7 test7main.cpp)
2014-11-13 01:04:59 +02:00
########### next target ###############
set(test8_SRCS test8main.cpp )
2015-09-05 05:16:46 +00:00
kde4_add_kcfg_files(test8a test8_SRCS)
kde4_add_kcfg_files(test8b test8_SRCS)
2014-11-13 01:04:59 +02:00
2015-09-05 05:16:46 +00:00
kde4_add_manual_test(test8 ${test8_SRCS})
2014-11-13 01:04:59 +02:00
target_link_libraries(test8 kdeui)
2014-11-13 01:04:59 +02:00
########### next target ###############
ADD_KCONFIG_TEST(test9 test9main.cpp)
2014-11-13 01:04:59 +02:00
########### next target ###############
ADD_KCONFIG_TEST(test10 test10main.cpp)
2014-11-13 01:04:59 +02:00
########### next target ###############
set(test11_SRCS test11main.cpp)
2014-11-13 01:04:59 +02:00
2015-09-05 05:16:46 +00:00
kde4_add_kcfg_files(test11 test11_SRCS)
kde4_add_kcfg_files(test11a test11_SRCS)
2014-11-13 01:04:59 +02:00
2015-09-05 05:16:46 +00:00
kde4_add_manual_test(test11 ${test11_SRCS})
2014-11-13 01:04:59 +02:00
target_link_libraries(test11 kdeui)
2014-11-13 01:04:59 +02:00
########### next target ###############
ADD_KCONFIG_TEST(test12 test12main.cpp)
2014-11-13 01:04:59 +02:00
########### next target ###############
ADD_KCONFIG_TEST(test_dpointer test_dpointer_main.cpp)
2014-11-13 01:04:59 +02:00
########### next target ###############
ADD_KCONFIG_TEST(test_signal test_signal_main.cpp)
2014-11-13 01:04:59 +02:00
########### next target ###############
ADD_KCONFIG_TEST(kconfigcompiler_test kconfigcompiler_test.cpp)
2014-11-13 01:04:59 +02:00