fix tricky regression noticed by Vyacheslav Tokarev on Google Reader.
[kdelibs.git] / kde3support / tests / CMakeLists.txt
blob4b4ef3633bd91fbec90b8198027e83809408b923
1 set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
2 include_directories( ${CMAKE_SOURCE_DIR}/kde3support ${CMAKE_SOURCE_DIR}/kde3support/kdeui )
4 MACRO(KDE3SUPPORT_UNIT_TESTS)
5        FOREACH(_testname ${ARGN})
6                kde4_add_unit_test(${_testname} ${_testname}.cpp)
7                target_link_libraries(${_testname} ${KDE4_KDE3SUPPORT_LIBS} ${QT_QTTEST_LIBRARY})
8        ENDFOREACH(_testname)
9 ENDMACRO(KDE3SUPPORT_UNIT_TESTS)
10 MACRO(KDE3SUPPORT_EXECUTABLE_TESTS)
11        FOREACH(_testname ${ARGN})
12                kde4_add_executable(${_testname} TEST ${_testname}.cpp)
13                target_link_libraries(${_testname} ${KDE4_KDE3SUPPORT_LIBS} ${QT_QTTEST_LIBRARY})
14        ENDFOREACH(_testname)
15 ENDMACRO(KDE3SUPPORT_EXECUTABLE_TESTS)
17 KDE3SUPPORT_UNIT_TESTS(
18   kcommandtest
19   krfcdatetest
22 KDE3SUPPORT_EXECUTABLE_TESTS(
23   itemcontainertest
24   k3listviewtest
25   kactivelabeltest
26   kdockwidgetdemo
27   kdockwidgettest
28   kdocktest
29   kaboutdialogtest
30   k3processtest
31   k3prociotest