summaryrefslogtreecommitdiffstats
path: root/Modules/BasicConfigVersion-AnyNewerVersion.cmake.in
Commit message (Collapse)AuthorAgeFilesLines
* Revert the use of string(APPEND) in .cmake.in filesDaniel Pfeifer2016-08-081-1/+1
| | | | | The generated files may be consumed by older cmake versions which do not support string(APPEND).
* Use string(APPEND) in ModulesDaniel Pfeifer2016-07-271-1/+1
| | | | | | | Automate with: find Modules -type f -print0 | xargs -0 perl -i -0pe \ 's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
* write_basic_package_version_file: remove variable dereferences in templatesRolf Eike Beer2015-09-041-4/+4
| | | | Fixes some minor whitespace issues in the if()s.
* BasicConfigVersion: Make docs refer to the macro, not the module nameStephen Kelly2012-10-231-1/+1
| | | | | The -ExactVersion variant already refers to the macro, and I think it makes more sense anyway.
* write_basic_package_version_file() now works with unset CMAKE_SIZEOF_VOID_PAlex Neundorf2012-05-231-0/+5
| | | | | | | | This fixes #13241. If CMAKE_SIZEOF_VOID_P is not set, either in the installed or in the using project, don't check for it. Alex
* Improve documentation for WriteBasicConfigVersionFile.cmakeAlex Neundorf2011-08-051-2/+1
| | | | Alex
* Set UNSUITABLE instead of not COMPATIBLEAlex Neundorf2011-08-051-14/+10
| | | | Alex
* Add some tests for write_basic_config_version_file()Alex Neundorf2011-08-011-0/+2
| | | | Alex
* Provide macro write_basic_config_version_file()Alex Neundorf2011-08-011-0/+29
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