Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
1 | add_subdirectory(tools/kiconfinder) | 1 | add_subdirectory(tools/kiconfinder) | ||
---|---|---|---|---|---|
2 | if (APPLE) | 2 | if (APPLE) | ||
3 | add_subdirectory(tools/ksvg2icns) | 3 | add_subdirectory(tools/ksvg2icns) | ||
4 | endif() | 4 | endif() | ||
5 | 5 | | |||
6 | set(kiconthemes_SRCS | 6 | set(kiconthemes_SRCS | ||
7 | kiconbutton.cpp | 7 | kiconbutton.cpp | ||
8 | kicondialog.cpp | 8 | kicondialog.cpp | ||
9 | kiconeffect.cpp | 9 | kiconeffect.cpp | ||
10 | kiconengine.cpp | 10 | kiconengine.cpp | ||
11 | kiconloader.cpp | 11 | kiconloader.cpp | ||
12 | kicontheme.cpp | 12 | kicontheme.cpp | ||
13 | debug.cpp | 13 | debug.cpp | ||
14 | ) | 14 | ) | ||
15 | qt5_add_resources(kiconthemes_SRCS | ||||
16 | hicolor.qrc | ||||
17 | ) | ||||
15 | ecm_qt_declare_logging_category(kiconthemes_SRCS HEADER debug.h IDENTIFIER KICONTHEMES CATEGORY_NAME kf5.kiconthemes) | 18 | ecm_qt_declare_logging_category(kiconthemes_SRCS HEADER debug.h IDENTIFIER KICONTHEMES CATEGORY_NAME kf5.kiconthemes) | ||
16 | 19 | | |||
17 | add_library(KF5IconThemes ${kiconthemes_SRCS}) | 20 | add_library(KF5IconThemes ${kiconthemes_SRCS}) | ||
18 | generate_export_header(KF5IconThemes BASE_NAME KIconThemes) | 21 | generate_export_header(KF5IconThemes BASE_NAME KIconThemes) | ||
19 | add_library(KF5::IconThemes ALIAS KF5IconThemes) | 22 | add_library(KF5::IconThemes ALIAS KF5IconThemes) | ||
20 | 23 | | |||
21 | target_include_directories(KF5IconThemes INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KIconThemes>") | 24 | target_include_directories(KF5IconThemes INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KIconThemes>") | ||
22 | 25 | | |||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |