1 add_subdirectory(tests)
3 add_definitions( ${KDE4_ENABLE_EXCEPTIONS} )
4 add_definitions( -DKDE_DEFAULT_DEBUG_AREA=9003 )
6 ########### next target ###############
11 internal/testexecutor.cpp
15 internal/selectionstore.cpp
16 testtoolviewfactory.cpp
17 internal/toolviewdata.cpp
18 internal/resultsmodel.cpp
19 internal/resultsproxymodel.cpp
20 internal/runnermodel.cpp
21 internal/runnerproxymodel.cpp
22 internal/runnerwindow.cpp
23 internal/selectionmanager.cpp
24 internal/selectiontoggle.cpp
25 internal/verbosetoggle.cpp
26 internal/overlaymanager.cpp
27 internal/overlaytoggle.cpp
28 internal/resultswidget.cpp
29 internal/itestframework_p.cpp
31 tests/runnertesthelper.cpp # Actual tests of concrete frameworks use these.
32 tests/testutils.cpp) # eg QTestRunnerTest, CppUnitRunnerTest
33 # Before ui_* and other internals were installed
34 # to make this possible, which is bad.
35 #${CMAKE_SOURCE_DIR}/tests/common/modeltest.cpp)
37 kde4_add_ui_files(veritas_SRCS
38 internal/runnerwindow.ui)
40 qt4_add_resources(veritas_SRCS
41 resources/qxrunner.qrc)
43 kde4_add_library(kdevplatformveritas SHARED ${veritas_SRCS})
44 target_link_libraries(kdevplatformveritas
45 kdevplatforminterfaces
52 ${KDE4_KTEXTEDITOR_LIBS})
53 qt4_automoc(${veritas_SRCS})
54 install(TARGETS kdevplatformveritas ${INSTALL_TARGETS_DEFAULT_ARGS})
56 ########### install files ###############
65 tests/runnertesthelper.h
66 DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/veritas )