Changeset View
Changeset View
Standalone View
Standalone View
Modules/about-distro/src/CMakeLists.txt
1 | configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/Version.h) | 1 | configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/Version.h) | ||
---|---|---|---|---|---|
2 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | 2 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||
3 | 3 | | |||
4 | set(kcm_SRCS | 4 | set(kcm_SRCS | ||
5 | main.cpp | 5 | main.cpp | ||
6 | Module.cpp | 6 | Module.cpp | ||
7 | Entry.cpp | ||||
8 | PlasmaEntry.cpp | ||||
9 | KernelEntry.cpp | ||||
10 | SectionLabel.cpp | ||||
11 | BitEntry.cpp | ||||
12 | MemoryEntry.cpp | ||||
13 | CPUEntry.cpp | ||||
7 | ) | 14 | ) | ||
8 | 15 | | |||
9 | ki18n_wrap_ui(kcm_SRCS Module.ui) | 16 | ki18n_wrap_ui(kcm_SRCS Module.ui) | ||
10 | 17 | | |||
11 | add_library(kcm_about_distro MODULE ${kcm_SRCS}) | 18 | add_library(kcm_about_distro MODULE ${kcm_SRCS}) | ||
12 | 19 | | |||
13 | target_link_libraries(kcm_about_distro | 20 | target_link_libraries(kcm_about_distro | ||
14 | KF5::ConfigWidgets | 21 | KF5::ConfigWidgets | ||
15 | KF5::CoreAddons | 22 | KF5::CoreAddons | ||
16 | KF5::I18n | 23 | KF5::I18n | ||
17 | KF5::Solid) | 24 | KF5::Solid) | ||
18 | 25 | | |||
19 | install(TARGETS kcm_about_distro DESTINATION ${PLUGIN_INSTALL_DIR}) | 26 | install(TARGETS kcm_about_distro DESTINATION ${PLUGIN_INSTALL_DIR}) | ||
20 | install(FILES about-distro.desktop DESTINATION ${SERVICES_INSTALL_DIR}) | 27 | install(FILES about-distro.desktop DESTINATION ${SERVICES_INSTALL_DIR}) |