CMake/Tests/Complex
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
..
Cache ENH: Move CMakeCache.txt to Cache/ directory to avoid any in-source build pb. 2002-01-22 15:50:52 -05:00
Executable Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
Library Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeLists.txt Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
VarTests.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
cmTestConfigure.h.in complex: Remove unused option to test CMakeLib 2011-12-23 16:16:57 -05:00
cmTestConfigureEscape.h.in add a test for escape quotes and configure file 2002-05-23 13:04:00 -04:00
cmTestGeneratedHeader.h.in ENH: Added test for generated header included by non-generated source. 2002-12-13 17:35:00 -05:00