summaryrefslogtreecommitdiff
path: root/src/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-05 10:40:13 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-11-05 10:40:13 +0100
commitf2a846d56cea2f33e85e52f9c99a3c73c2195feb (patch)
treec285492a0c552f7d52320aad368868f21e6dc189 /src/tests/CMakeLists.txt
parentMerge commit 'refs/merge-requests/1986' of git://gitorious.org/rekonq/mainlin... (diff)
parentTrivial MainView Test (diff)
downloadrekonq-f2a846d56cea2f33e85e52f9c99a3c73c2195feb.tar.xz
Merge branch 'AutoTests'
Diffstat (limited to 'src/tests/CMakeLists.txt')
-rw-r--r--src/tests/CMakeLists.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
new file mode 100644
index 00000000..5df23e24
--- /dev/null
+++ b/src/tests/CMakeLists.txt
@@ -0,0 +1,32 @@
+##### ---------- General Settings ----------
+
+SET( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
+
+INCLUDE_DIRECTORIES ( ${CMAKE_CURRENT_BINARY_DIR}/..
+ ${KDE4_INCLUDES}
+ ${QT4_INCLUDES}
+)
+
+##### ------------- tabbar test
+
+kde4_add_unit_test( tabbar_test tabbar_test.cpp )
+
+target_link_libraries( tabbar_test
+ kdeinit_rekonq
+ ${KDE4_KDECORE_LIBS}
+ ${KDE4_KDEUI_LIBS}
+ ${QT_QTTEST_LIBRARY}
+)
+
+##### ------------- mainview test
+
+kde4_add_unit_test( mainview_test mainview_test.cpp )
+
+target_link_libraries( mainview_test
+ kdeinit_rekonq
+ ${KDE4_KDECORE_LIBS}
+ ${KDE4_KDEUI_LIBS}
+ ${QT_QTTEST_LIBRARY}
+)
+
+############################################################