aboutsummaryrefslogtreecommitdiff
path: root/modules/ECMPackageConfigHelpers.cmake
AgeCommit message (Collapse)Author
2022-06-12API dox: use more markup for code or commandline samplesFriedrich W. H. Kossebau
NO_CHANGELOG
2021-05-25Clean ECM files after the minimum version changeChristophe Giboudeaux
- Remove deprecated version checks - Use VERSION_GREATER_EQUAL
2021-04-23Modules docs: move rst docs into bracket commentsFriedrich W. H. Kossebau
CMake >= 3.0 supports bracket comments, and the reStructuredText integration code in sphinx/ext/ecm.py already supports extracting the docs from a bracket comment instead. Editing documentation without leading line comment markers is more simple, e,g. when reflowing text over lines. With ECM meanwhile requiring CMake 3.5 now it is possible to switch (and thus follow also the approach used by cmake itself). NO_CHANGELOG
2020-06-14extra-cmake-modules: Convert to SPDX license statementsAndreas Cord-Landwehr
2019-01-09Use more https in linksFriedrich W. H. Kossebau
2016-08-31add full license textAllen Winter
REVIEW: 128780
2015-02-28Improve ECMPackageConfigHelpers documentation.Alex Merry
In particular, strongly recommend looking at the equivalent CMake documentation with regard to PATH_VARS, as a lot of projects that should be making use of it are not.
2015-02-06Document when modules were added to ECM.Alex Merry
2014-10-21If find_dependency() fails, so should the Config file it is inAlex Merry
REVIEW: 120655
2014-04-11Add documentation generation using SphinxAlex Merry
This is deliberately modelled very closely on CMake's documentation system. It's a hefty patch, because it involved changing all the documentation to be in reStructuredText format. I also cleaned up the copyright/license statements at the same time. Note that the find modules contain the full license, due to the fact that ecm_use_find_module() copies them out of the ECM distribution.
2014-03-02find_dependency: Update to match CMake's versionAlex Merry
Specifically, we namespace the variables to avoid conflicts, and make the version argument optional. REVIEW: 116080
2014-02-21Defer to CMake's find_dependency macro if it existsAlex Merry
This will be available in CMake 3.0.0. This way, we automatically pick up any new features from it. REVIEW: 115775
2014-02-18Rename CMakePackageConfigHelpers to ECMPackageConfigHelpersAlex Merry
Overriding a CMake package like this will just cause all sorts of headaches later on. In this particular case, projects that depended on CMake 2.8.13 or later (more likely 3.0.0) would fail with a message about removing the CMakePackageConfigHelpers file, but would have no way to do that while still using ECM. This also renames the configure_package_config_file() macro to ecm_configure_package_config_file(), so that anything including CMakePackageConfigHelpers afterwards does not overwrite the macro unexpectedly. For now, we keep a CMakePackageConfigHelpers.cmake file that just wraps ecm_configure_package_config_file() as configure_package_config_file() to keep the frameworks building while they are ported. REVIEW: 115496 Reviewed by Sune Vuorela <kde@pusling.com>