Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 14 Lines | |||||
15 | find_package(Qt5 "${REQUIRED_QT_VERSION}" CONFIG REQUIRED Widgets) | 15 | find_package(Qt5 "${REQUIRED_QT_VERSION}" CONFIG REQUIRED Widgets) | ||
16 | if (NOT ANDROID) | 16 | if (NOT ANDROID) | ||
17 | find_package(Qt5 "${REQUIRED_QT_VERSION}" CONFIG REQUIRED DBus) | 17 | find_package(Qt5 "${REQUIRED_QT_VERSION}" CONFIG REQUIRED DBus) | ||
18 | endif() | 18 | endif() | ||
19 | include(KDEInstallDirs) | 19 | include(KDEInstallDirs) | ||
20 | include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) | 20 | include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) | ||
21 | include(KDECMakeSettings) | 21 | include(KDECMakeSettings) | ||
22 | 22 | | |||
23 | include(GenerateExportHeader) | 23 | include(ECMGenerateExportHeader) | ||
24 | include(ECMSetupVersion) | 24 | include(ECMSetupVersion) | ||
25 | include(ECMGenerateHeaders) | 25 | include(ECMGenerateHeaders) | ||
26 | include(ECMAddQch) | 26 | include(ECMAddQch) | ||
27 | include(ECMQtDeclareLoggingCategory) | 27 | include(ECMQtDeclareLoggingCategory) | ||
28 | 28 | | |||
29 | set(EXCLUDE_DEPRECATED_BEFORE_AND_AT 0 CACHE STRING "Control the range of deprecated API excluded from the build [default=0].") | ||||
30 | | ||||
29 | option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) | 31 | option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) | ||
30 | add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") | 32 | add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") | ||
31 | 33 | | |||
32 | option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON) | 34 | option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON) | ||
33 | add_feature_info(DESIGNERPLUGIN ${BUILD_DESIGNERPLUGIN} "Build plugin for Qt Designer") | 35 | add_feature_info(DESIGNERPLUGIN ${BUILD_DESIGNERPLUGIN} "Build plugin for Qt Designer") | ||
34 | 36 | | |||
35 | ecm_setup_version(PROJECT VARIABLE_PREFIX KCONFIGWIDGETS | 37 | ecm_setup_version(PROJECT VARIABLE_PREFIX KCONFIGWIDGETS | ||
36 | VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kconfigwidgets_version.h" | 38 | VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kconfigwidgets_version.h" | ||
▲ Show 20 Lines • Show All 88 Lines • Show Last 20 Lines |