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 | 7 | Entry.cpp | ||
8 | PlasmaEntry.cpp | 8 | PlasmaEntry.cpp | ||
9 | KernelEntry.cpp | 9 | KernelEntry.cpp | ||
10 | SectionLabel.cpp | 10 | SectionLabel.cpp | ||
11 | BitEntry.cpp | 11 | BitEntry.cpp | ||
12 | MemoryEntry.cpp | 12 | MemoryEntry.cpp | ||
13 | CPUEntry.cpp | 13 | CPUEntry.cpp | ||
14 | GPUEntry.cpp | ||||
15 | FancyString.cpp | ||||
14 | ) | 16 | ) | ||
15 | 17 | | |||
16 | ki18n_wrap_ui(kcm_SRCS Module.ui) | 18 | ki18n_wrap_ui(kcm_SRCS Module.ui) | ||
17 | 19 | | |||
18 | add_library(kcm_about_distro MODULE ${kcm_SRCS}) | 20 | add_library(kcm_about_distro MODULE ${kcm_SRCS}) | ||
19 | 21 | | |||
20 | target_link_libraries(kcm_about_distro | 22 | target_link_libraries(kcm_about_distro | ||
21 | KF5::ConfigWidgets | 23 | KF5::ConfigWidgets | ||
22 | KF5::CoreAddons | 24 | KF5::CoreAddons | ||
23 | KF5::I18n | 25 | KF5::I18n | ||
24 | KF5::Solid) | 26 | KF5::Solid) | ||
25 | 27 | | |||
26 | install(TARGETS kcm_about_distro DESTINATION ${PLUGIN_INSTALL_DIR}) | 28 | install(TARGETS kcm_about_distro DESTINATION ${PLUGIN_INSTALL_DIR}) | ||
27 | install(FILES about-distro.desktop DESTINATION ${SERVICES_INSTALL_DIR}) | 29 | install(FILES about-distro.desktop DESTINATION ${SERVICES_INSTALL_DIR}) |