From 0985d48d92bcf0f8001e38b041a522da8568a38f Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Thu, 27 Apr 2017 02:29:41 +0200 Subject: [FEATURE] Option to build & install QCH file with the public API dox 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. --- KF5ConfigConfig.cmake.in | 1 + 1 file changed, 1 insertion(+) (limited to 'KF5ConfigConfig.cmake.in') diff --git a/KF5ConfigConfig.cmake.in b/KF5ConfigConfig.cmake.in index d434c88e..f8e5eb0b 100644 --- a/KF5ConfigConfig.cmake.in +++ b/KF5ConfigConfig.cmake.in @@ -3,6 +3,7 @@ # Any changes in this ".cmake" file will be overwritten by CMake, the source is the ".cmake.in" file. include("${CMAKE_CURRENT_LIST_DIR}/KF5ConfigTargets.cmake") +@PACKAGE_INCLUDE_QCHTARGETS@ include(CMakeFindDependencyMacro) find_dependency(Qt5Xml "@REQUIRED_QT_VERSION@") -- cgit v1.2.1