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})
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})
15 ENDMACRO(KDE3SUPPORT_EXECUTABLE_TESTS)
17 KDE3SUPPORT_UNIT_TESTS(
22 KDE3SUPPORT_EXECUTABLE_TESTS(