summaryrefslogtreecommitdiffstats
path: root/Modules/WriteBasicConfigVersionFile.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Modules: Format documentation to avoid over-long preformatted linesBrad King2014-10-221-1/+4
| | | | | | Convert several preformatted code block literals that enumerate lists of options or variables to use reST definition lists instead. Manually wrap other long lines in code blocks.
* write_basic_package_version_file: use PROJECT_VERSIONAlex Neundorf2014-01-291-2/+6
| | | | | | | In the write_basic_package_version_file(), the VERSION argument is now optional. If none is given, it falls back to ${PROJECT_VERSION}. Alex
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-1/+11
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-2/+2
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* wrap write_basic_config_version_file as write_basic_package_version_file()Alex Neundorf2012-03-071-26/+1
| | | | | | | So the name fits better with configure_package_config_file(), as discussed on the mailing list. Adapt the documentation accordingly. Alex
* Improve documentation for WriteBasicConfigVersionFile.cmakeAlex Neundorf2011-08-051-7/+11
| | | | Alex
* Really fix copyright noticeAlex Neundorf2011-08-011-1/+1
| | | | Alex
* Fix copyright noticeAlex Neundorf2011-08-011-3/+12
| | | | Alex
* Add example to documentationAlex Neundorf2011-08-011-0/+7
| | | | Alex
* Provide macro write_basic_config_version_file()Alex Neundorf2011-08-011-0/+49
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