Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 27 Lines | |||||
28 | endif() | 28 | endif() | ||
29 | 29 | | |||
30 | 30 | | |||
31 | include(KDEInstallDirs) | 31 | include(KDEInstallDirs) | ||
32 | include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) | 32 | include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) | ||
33 | include(KDECMakeSettings) | 33 | include(KDECMakeSettings) | ||
34 | 34 | | |||
35 | 35 | | |||
36 | include(GenerateExportHeader) | 36 | include(ECMGenerateExportHeader) | ||
37 | include(ECMSetupVersion) | 37 | include(ECMSetupVersion) | ||
38 | include(ECMGenerateHeaders) | 38 | include(ECMGenerateHeaders) | ||
39 | include(ECMMarkNonGuiExecutable) | 39 | include(ECMMarkNonGuiExecutable) | ||
40 | include(ECMPoQmTools) | 40 | include(ECMPoQmTools) | ||
41 | include(ECMAddQch) | 41 | include(ECMAddQch) | ||
42 | include(ECMQtDeclareLoggingCategory) | 42 | include(ECMQtDeclareLoggingCategory) | ||
43 | 43 | | |||
44 | set(EXCLUDE_DEPRECATED_BEFORE_AND_AT 0 CACHE STRING "Control the range of deprecated API excluded from the build [default=0].") | ||||
45 | | ||||
44 | option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) | 46 | option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) | ||
45 | add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") | 47 | add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") | ||
46 | 48 | | |||
47 | ecm_setup_version(PROJECT VARIABLE_PREFIX KCONFIG | 49 | ecm_setup_version(PROJECT VARIABLE_PREFIX KCONFIG | ||
48 | VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kconfig_version.h" | 50 | VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kconfig_version.h" | ||
49 | PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5ConfigConfigVersion.cmake" | 51 | PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5ConfigConfigVersion.cmake" | ||
50 | SOVERSION 5) | 52 | SOVERSION 5) | ||
51 | 53 | | |||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |