CMake/Tests/CMakeOnly
Kitware Robot 9db3116226 Remove CMake-language block-end command arguments
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
2012-08-13 14:19:16 -04:00
..
AllFindModules Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckCXXCompilerFlag CheckCXXCompilerFlag test: make it a CMakeOnly test 2012-01-30 19:42:51 +01:00
CheckCXXSymbolExists Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CheckLanguage Add CheckLanguage module 2012-02-08 10:48:34 -05:00
CheckSymbolExists Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
LinkInterfaceLoop Tolerate cycles in shared library link interfaces (#12647) 2012-01-13 14:22:24 -05:00
ProjectInclude Add ability to include a file in a project via a cache variable. 2012-02-17 12:41:39 -05:00
TargetScope Add test covering imported target scope rules 2012-01-25 14:43:07 -05:00
find_library find_library: Fix mixed lib->lib64 (non-)conversion cases (#13419) 2012-07-20 14:19:11 -04:00
CMakeLists.txt find_library: Add test covering lib->lib64 cases 2012-07-20 14:19:07 -04:00
Test.cmake.in Add ability to include a file in a project via a cache variable. 2012-02-17 12:41:39 -05:00