plasma-framework/tests/CMakeLists.txt
Aaron J. Seigo b123a8e8b1 integrate TabBar into the build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841797
2008-08-04 05:30:32 +00:00

21 lines
645 B
CMake

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}
${KDE4_KIO_LIBRARY})
ENDFOREACH(_testname)
ENDMACRO(PLASMA_UNIT_TESTS)
PLASMA_UNIT_TESTS(
packagestructuretest
packagemetadatatest
plasmoidpackagetest
)
set(appletbrowser_SRCS appletbrowser.cpp)
kde4_add_executable(plasmaappletbrowser ${appletbrowser_SRCS})
target_link_libraries(plasmaappletbrowser plasma ${KDE4_KDEUI_LIBS})