Changeset View
Changeset View
Standalone View
Standalone View
src/bugzillaintegration/libbugzilla/autotests/CMakeLists.txt
- This file was added.
1 | remove_definitions(-DQT_NO_CAST_FROM_ASCII) | ||||
---|---|---|---|---|---|
2 | | ||||
3 | include(ECMAddTests) | ||||
4 | include(GenerateExportHeader) | ||||
5 | | ||||
6 | find_package(Qt5Test ${REQUIRED_QT_VERSION} CONFIG REQUIRED) | ||||
7 | | ||||
8 | # Include src so we have access to config-kcrash.h | ||||
9 | include_directories(${CMAKE_CURRENT_BINARY_DIR}/..) | ||||
10 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||||
11 | | ||||
12 | ecm_add_tests( | ||||
13 | attachmenttest.cpp | ||||
14 | bugtest.cpp | ||||
15 | bugzillatest.cpp | ||||
16 | commenttest.cpp | ||||
17 | connectiontest.cpp | ||||
18 | producttest.cpp | ||||
19 | LINK_LIBRARIES | ||||
20 | Qt5::Core | ||||
21 | Qt5::Test | ||||
22 | Qt5::Network | ||||
23 | | ||||
24 | qbugzilla | ||||
25 | ) | ||||
26 | | ||||
27 | ecm_mark_nongui_executable(bugzillatest) |