2007-10-22 03:30:29 +02:00
|
|
|
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
|
|
|
|
MACRO(PLASMA_UNIT_TESTS)
|
|
|
|
FOREACH(_testname ${ARGN})
|
|
|
|
kde4_add_unit_test(${_testname} ${_testname}.cpp)
|
|
|
|
target_link_libraries(${_testname} plasma ${QT_QTTEST_LIBRARY})
|
|
|
|
ENDFOREACH(_testname)
|
|
|
|
ENDMACRO(PLASMA_UNIT_TESTS)
|
|
|
|
|
|
|
|
PLASMA_UNIT_TESTS(
|
2008-02-26 22:21:09 +01:00
|
|
|
packagestructuretest
|
2007-11-02 23:17:29 +01:00
|
|
|
packagemetadatatest
|
2007-11-03 02:50:57 +01:00
|
|
|
plasmoidpackagetest
|
2007-10-22 03:30:29 +02:00
|
|
|
)
|
|
|
|
|
2008-02-26 22:21:09 +01:00
|
|
|
set(appletbrowser_SRCS appletbrowser.cpp)
|
|
|
|
kde4_add_executable(plasmaappletbrowser ${appletbrowser_SRCS})
|
|
|
|
target_link_libraries(plasmaappletbrowser ${KDE4_KDEUI_LIBS} plasma)
|
|
|
|
|
2008-03-31 00:42:53 +02:00
|
|
|
set(sharedtimertest_SRCS sharedtimertest.cpp)
|
|
|
|
kde4_add_executable(sharedtimertest ${sharedtimertest_SRCS})
|
|
|
|
target_link_libraries(sharedtimertest ${KDE4_KDEUI_LIBS} plasma)
|
|
|
|
|