summaryrefslogtreecommitdiff
path: root/kcalutils/tests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kcalutils/tests/CMakeLists.txt')
-rw-r--r--kcalutils/tests/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/kcalutils/tests/CMakeLists.txt b/kcalutils/tests/CMakeLists.txt
new file mode 100644
index 0000000..69c20b2
--- /dev/null
+++ b/kcalutils/tests/CMakeLists.txt
@@ -0,0 +1,14 @@
+set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
+
+MACRO(KCALUTILS_UNIT_TESTS)
+ FOREACH(_testname ${ARGN})
+ kde4_add_unit_test(${_testname} NOGUI ${_testname}.cpp)
+ target_link_libraries(${_testname} ${KDE4_KDECORE_LIBS} kcalutils kcalcore ${QT_QTTEST_LIBRARY} ${QT_QTGUI_LIBRARY})
+ ENDFOREACH(_testname)
+ENDMACRO(KCALUTILS_UNIT_TESTS)
+
+KCALUTILS_UNIT_TESTS(
+ testdndfactory
+ testincidenceformatter
+ teststringify
+)