Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove CMake-language block-end command arguments | Kitware Robot | 2012-08-13 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | Modules: Fix CMakeParseArguments copyright notice | Brad King | 2010-08-17 | 1 | -2/+3 |
| | | | | Fix format of the copyright notice to pass the ModuleNoticesTest. | ||||
* | Add macro CMakeParseArguments() and use it in FPHSA() | Alex Neundorf | 2010-08-14 | 1 | -0/+137 |
This adds a macro cmake_parse_arguments() (as discussed on cmake-devel) which can be used in macros or functions to help with parsing its arguments. Detailled docs are included. find_package_handle_standard_args() is the first user of this new macro. Alex |