┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/CMakeLists.txt')
-rw-r--r--src/tests/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
new file mode 100644
index 000000000..687d68d9c
--- /dev/null
+++ b/src/tests/CMakeLists.txt
@@ -0,0 +1,19 @@
+if(KDE4_BUILD_TESTS)
+
+ include_directories( ${CMAKE_SOURCE_DIR}/apps/dolphin/src )
+
+ # Tests don't need to go into toplevel/bin, they are fine in the current dir.
+ set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
+
+ ########### renamedialogtest ###############
+
+ kde4_automoc(renamedialogtest.cpp)
+
+ kde4_add_executable(renamedialogtest RUN_UNINSTALLED renamedialogtest.cpp)
+
+ target_link_libraries(renamedialogtest dolphin ${QT_QTTEST_LIBRARY})
+
+ ############################################
+
+endif(KDE4_BUILD_TESTS)
+