Fix no newlines warnings. Patch by Peter Oberndorfer
[kdevelopdvcssupport.git] / veritas / CMakeLists.txt
blobc40a62b28f6862f94a77b887fe7a6c9c69cf57b9
1 add_subdirectory(tests)
3 add_definitions( ${KDE4_ENABLE_EXCEPTIONS} )
4 add_definitions( -DKDE_DEFAULT_DEBUG_AREA=9003 )
6 ########### next target ###############
8 set(veritas_SRCS
9     test.cpp
10     testresult.cpp
11     internal/testexecutor.cpp
12     itestrunner.cpp
13     itestframework.cpp
14     internal/utils.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
30     internal/test_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
46     sublime
47     ${QT_QTCORE_LIBRARY}
48     ${QT_QTGUI_LIBRARY}
49     ${QT_QTTEST_LIBRARY}
50     ${KDE4_KDECORE_LIBS}
51     ${KDE4_KDEUI_LIBS}
52     ${KDE4_KTEXTEDITOR_LIBS})
53 qt4_automoc(${veritas_SRCS})
54 install(TARGETS kdevplatformveritas ${INSTALL_TARGETS_DEFAULT_ARGS})
56 ########### install files ###############
58 install(FILES
59     test.h
60     veritasexport.h
61     testresult.h
62     itestrunner.h
63     itestframework.h
64     testtoolviewfactory.h
65     tests/runnertesthelper.h
66     DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/veritas )