Changeset View
Changeset View
Standalone View
Standalone View
autotests/CMakeLists.txt
Show All 11 Lines | |||||
12 | endmacro() | 12 | endmacro() | ||
13 | 13 | | |||
14 | kiconthemes_tests( | 14 | kiconthemes_tests( | ||
15 | kiconloader_unittest | 15 | kiconloader_unittest | ||
16 | kiconloader_resourcethemetest | 16 | kiconloader_resourcethemetest | ||
17 | kiconloader_benchmark | 17 | kiconloader_benchmark | ||
18 | kicontheme_unittest | 18 | kicontheme_unittest | ||
19 | ) | 19 | ) | ||
20 | | ||||
21 | ### Test for RCC loading | ||||
22 | | ||||
23 | get_target_property(QT_RCC_EXECUTABLE Qt5::rcc LOCATION) | ||||
24 | add_custom_command(OUTPUT icontheme.rcc | ||||
25 | COMMAND ${QT_RCC_EXECUTABLE} --binary -o icontheme.rcc ${CMAKE_CURRENT_SOURCE_DIR}/icontheme.qrc | ||||
26 | DEPENDS icontheme.qrc | ||||
27 | ) | ||||
28 | ecm_add_test(kiconloader_rcctest.cpp LINK_LIBRARIES Qt5::Test KF5::IconThemes KF5::WidgetsAddons KF5::ConfigCore) | ||||
29 | add_custom_target(rcctest-rcc ALL DEPENDS icontheme.rcc) # a custom target that is always built |