diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-08-01 20:59:18 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-08-01 20:59:18 (GMT) |
commit | d216a67e4a41d443d97f9e3b0470b21d1c822b3d (patch) | |
tree | 1786c8b02885f70eface14b5fbea20dadc8af9cf /Source/cmFindPackageCommand.cxx | |
parent | cbaf9445680c7138ef6eaee7bdf8f5df8b3fcc89 (diff) | |
download | CMake-d216a67e4a41d443d97f9e3b0470b21d1c822b3d.zip CMake-d216a67e4a41d443d97f9e3b0470b21d1c822b3d.tar.gz CMake-d216a67e4a41d443d97f9e3b0470b21d1c822b3d.tar.bz2 |
Provide macro write_basic_config_version_file()
This macro can be used to generate basic version files which can be
installed along a Config.cmake file to provide versioning support.
This (3rd try) is implemented using a macro, which maps
the COMPATIBILITY mode to a filename and configure_file()s the
resulting file.
Alex
Diffstat (limited to 'Source/cmFindPackageCommand.cxx')
-rw-r--r-- | Source/cmFindPackageCommand.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx index 9d1c220..feb8aa6 100644 --- a/Source/cmFindPackageCommand.cxx +++ b/Source/cmFindPackageCommand.cxx @@ -191,6 +191,9 @@ void cmFindPackageCommand::GenerateDocumentation() "\"<config-file>-version.cmake\" or \"<config-file>Version.cmake\". " "If no such version file is available then the configuration file " "is assumed to not be compatible with any requested version. " + "A basic version file containing generic version matching code can be " + "created using the macro write_basic_config_version_file(), see its " + "documentation for more details. " "When a version file is found it is loaded to check the requested " "version number. " "The version file is loaded in a nested scope in which the following " |