Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/views/reports/core/tests/CMakeLists.txt
1 | include(ECMAddTests) | 1 | include(ECMAddTests) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | add_library(reports_testcommon STATIC | | |||
4 | reportstestcommon.cpp | | |||
5 | ) | | |||
6 | target_link_libraries(reports_testcommon | | |||
7 | PUBLIC | | |||
8 | Qt5::Core | | |||
9 | reports | | |||
10 | ) | | |||
11 | | ||||
12 | set(tests_sources | 3 | set(tests_sources | ||
13 | chart-test.cpp | 4 | chart-test.cpp | ||
14 | pivotgrid-test.cpp | 5 | pivotgrid-test.cpp | ||
15 | pivottable-test.cpp | 6 | pivottable-test.cpp | ||
16 | querytable-test.cpp | 7 | querytable-test.cpp | ||
17 | ) | 8 | ) | ||
18 | 9 | | |||
19 | ecm_add_tests(${tests_sources} | 10 | ecm_add_tests(${tests_sources} | ||
20 | NAME_PREFIX | 11 | NAME_PREFIX | ||
21 | "reports-" | 12 | "reports-" | ||
22 | LINK_LIBRARIES | 13 | LINK_LIBRARIES | ||
23 | Qt5::Core | 14 | Qt5::Core | ||
24 | Qt5::Test | 15 | Qt5::Test | ||
16 | reports | ||||
25 | kmm_mymoney | 17 | kmm_mymoney | ||
26 | reports_testcommon | 18 | kmm_testutilities | ||
27 | ) | 19 | ) | ||
28 | 20 | | |||
29 | add_executable(reports-chart-test chart-test.cpp) | 21 | add_executable(reports-chart-test chart-test.cpp) | ||
30 | target_link_libraries(reports-chart-test | 22 | target_link_libraries(reports-chart-test | ||
31 | reports | 23 | reports | ||
32 | Qt5::Core | 24 | Qt5::Core | ||
33 | Qt5::Gui | 25 | Qt5::Gui | ||
34 | Qt5::Test | 26 | Qt5::Test | ||
35 | ) | 27 | ) |