Changeset View
Changeset View
Standalone View
Standalone View
tests/CMakeLists.txt
1 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../src) | 1 | include_directories(${PROJECT_SOURCE_DIR}/src) | ||
---|---|---|---|---|---|
2 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | | |||
3 | 2 | | |||
4 | ecm_add_test(FilenameTest.cpp | 3 | SET(FILENAME_TEST_SRCS | ||
5 | ../src/ExportManager.cpp ../src/SpectacleConfig.cpp ../src/Platforms/Platform.cpp | 4 | FilenameTest.cpp | ||
5 | ../src/ExportManager.cpp | ||||
6 | ../src/Platforms/Platform.cpp | ||||
7 | ) | ||||
8 | | ||||
9 | | ||||
10 | kconfig_add_kcfg_files(FILENAME_TEST_SRCS ${PROJECT_SOURCE_DIR}/src/Gui/SettingsDialog/settings.kcfgc) | ||||
11 | | ||||
12 | ecm_add_test( | ||||
13 | ${FILENAME_TEST_SRCS} | ||||
6 | TEST_NAME "filename_test" | 14 | TEST_NAME "filename_test" | ||
7 | LINK_LIBRARIES Qt5::Test | 15 | LINK_LIBRARIES Qt5::Test | ||
8 | Qt5::PrintSupport KF5::I18n KF5::ConfigCore KF5::GlobalAccel KF5::KIOCore KF5::WindowSystem KF5::XmlGui | 16 | Qt5::PrintSupport KF5::I18n KF5::ConfigCore KF5::GlobalAccel KF5::KIOCore KF5::WindowSystem KF5::XmlGui | ||
9 | ) | 17 | ) |