aboutsummaryrefslogtreecommitdiff
path: root/KF5ConfigConfig.cmake.in
AgeCommit message (Collapse)Author
2021-12-16WIP: Change the build system to enable building with Qt 6Ahmad Samir
This was built with: -DQT_MAJOR_VERSION=6 \ -DEXCLUDE_DEPRECATED_BEFORE_AND_AT=5.90.0 \ -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055a00 Move the include(KDEInstallDirs) call before the first find_package(Qt*, the former is what auto-detects the Qt version, and defaults to 5. This is needed to be able to build against Qt5 by default. All unit tests still pass.
2020-10-24Find missing Qt5DBus dependencyNicolas Fella
Matters for static builds. Fixes the static KContacts build for me
2017-06-05[FEATURE] Option to build & install QCH file with the public API doxFriedrich W. H. Kossebau
Using the new extra-cmake-modules module ECMAddQch (since 5.36.0) this adds the option to automatically build and install a file in QCH format with the docs about the public API, which then can be used e.g. in Qt Assistant, Qt Creator or KDevelop. Additionally the installed cmake config files will be extended with a target KF5Config_QCH containing information about how to "link" into the generated QCH file, which then can be used in the cmake build system of other libraries building on this library, by simply listing this target in "LINK_QCHS" of their ecm_add_qch() usage. And a respective doxygen tag file with all the metadata about the generated QCH file and used for the "linking" will be created and installed. Pass -DBUILD_QCH=ON to cmake to enable this.
2017-03-29explicitly set NO_CMAKE_FIND_ROOT_PATHHarald Sitter
Summary: When using a toolchain file one often would want to set a CMAKE_FIND_ROOT_PATH to "re-root" lookups into a staging area to prevent native host artifcats from being found. This in particular is usually the case for lib/include/package finders as one would want the target systems build artifacts rather than the hosts. find_file() unfortunately draws its re-rooting rule from CMAKE_FIND_ROOT_PATH_MODE_INCLUDE, which as mentioned would usually be set not to look in the actual host paths to avoid picking up wrong includes which would also prevent find_file to work here. In the case of the coreaddonstooling it makes sense to look in the host though. For one the lookup only runs when CROSS_COMPILING is set (which usually is the case for toolchains), AND one explicitly has to specify a HOST_TOOLING path. So in a way by specifying that one is already opting out of whatever rooting rules one has set elsewhere as setting that var is a clear indication that we have *specific* host tooling and we want to use that rather than anything else. As a result NO_CMAKE_FIND_ROOT_PATH is the way to go when looking for stuff under a KF5_HOST_TOOLING conditional. Reviewers: mdawson, apol Reviewed By: apol Subscribers: #frameworks Tags: #frameworks Differential Revision: https://phabricator.kde.org/D5218
2017-01-04GIT_SILENT add missing include(CMakeFindDependencyMacro)Sven Brauch
2015-10-27Fix include variableAleix Pol
2015-06-21Make it possible to use kconfig_compiler from different sourcesAleix Pol
This way we can specify the used tooling targets to be used, useful if we're cross-compiling, since we get to use the tooling that runs in the local platform. REVIEW: 124104
2014-03-24Remove references to ${_KDE4_KCONFIG_COMPILER_DEP}Alex Merry
Not sure why it would be unset and then used, instead of just not used at all. LXR says it's not used anywhere else, though. REVIEW: 116962
2013-12-18Move kconfig code to the root directory.Jenkins CI