Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 16 Lines | |||||
17 | include(ECMMarkNonGuiExecutable) | 17 | include(ECMMarkNonGuiExecutable) | ||
18 | include(CMakePackageConfigHelpers) | 18 | include(CMakePackageConfigHelpers) | ||
19 | include(WriteBasicConfigVersionFile) | 19 | include(WriteBasicConfigVersionFile) | ||
20 | include(CheckIncludeFiles) | 20 | include(CheckIncludeFiles) | ||
21 | include(FeatureSummary) | 21 | include(FeatureSummary) | ||
22 | include(ECMOptionalAddSubdirectory) | 22 | include(ECMOptionalAddSubdirectory) | ||
23 | include(ECMQtDeclareLoggingCategory) | 23 | include(ECMQtDeclareLoggingCategory) | ||
24 | include(KDEPackageAppTemplates) | 24 | include(KDEPackageAppTemplates) | ||
25 | include(KDEClangFormat) | ||||
25 | 26 | | |||
26 | find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS | 27 | find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS | ||
27 | Plasma DocTools Runner NotifyConfig Su NewStuff Wallet | 28 | Plasma DocTools Runner NotifyConfig Su NewStuff Wallet | ||
28 | IdleTime Declarative I18n KCMUtils TextWidgets KDELibs4Support Crash GlobalAccel | 29 | IdleTime Declarative I18n KCMUtils TextWidgets KDELibs4Support Crash GlobalAccel | ||
29 | DBusAddons Wayland CoreAddons People ActivitiesStats) | 30 | DBusAddons Wayland CoreAddons People ActivitiesStats) | ||
30 | find_package(KDED CONFIG REQUIRED) | 31 | find_package(KDED CONFIG REQUIRED) | ||
31 | 32 | | |||
32 | find_package(KF5NetworkManagerQt ${KF5_MIN_VERSION}) | 33 | find_package(KF5NetworkManagerQt ${KF5_MIN_VERSION}) | ||
▲ Show 20 Lines • Show All 157 Lines • ▼ Show 20 Line(s) | |||||
190 | if(KF5Holidays_FOUND) | 191 | if(KF5Holidays_FOUND) | ||
191 | add_subdirectory(plasmacalendarintegration) | 192 | add_subdirectory(plasmacalendarintegration) | ||
192 | endif() | 193 | endif() | ||
193 | 194 | | |||
194 | add_subdirectory(templates) | 195 | add_subdirectory(templates) | ||
195 | 196 | | |||
196 | install(FILES plasma-workspace.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}) | 197 | install(FILES plasma-workspace.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}) | ||
197 | feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) | 198 | feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) | ||
199 | | ||||
200 | # add clang-format target for all our real source files | ||||
201 | file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h) | ||||
202 | kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES}) |