Changeset View
Changeset View
Standalone View
Standalone View
autotests/CMakeLists.txt
1 | include(ECMMarkAsTest) | 1 | include(ECMMarkAsTest) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | set(QT_REQUIRED_VERSION "5.6.1") | | |||
4 | find_package(Qt5Test ${QT_REQUIRED_VERSION} CONFIG REQUIRED) | 3 | find_package(Qt5Test ${QT_REQUIRED_VERSION} CONFIG REQUIRED) | ||
5 | 4 | | |||
6 | # needed by loadcalendar | 5 | # needed by loadcalendar | ||
7 | file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/cal DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) | 6 | file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/cal DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) | ||
8 | 7 | | |||
9 | macro(macro_unit_tests) | 8 | macro(macro_unit_tests) | ||
10 | foreach(_testname ${ARGN}) | 9 | foreach(_testname ${ARGN}) | ||
11 | add_executable(${_testname} ${_testname}.cpp) | 10 | add_executable(${_testname} ${_testname}.cpp) | ||
▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines |