CMake/Tests/CustomCommand
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
..
GeneratedHeader Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
GeneratorInExtraDir Convert CMake-language commands to lower case 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
check_command_line.c.in ENH: Added quick means to turn on verbose output for debugging this test. 2007-05-18 09:18:09 -04:00
check_mark.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
config.h.in ENH: Added test for generation of files listed explicitly as sources but not used during the build of a target. 2006-06-01 13:01:31 -04:00
doc1.tex
foo.h.in COMP: Avoid C++ comment in C translation unit. 2005-08-18 09:21:45 -04:00
foo.in Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
gen_redirect_in.c BUG: Do not escape shell operators when generating command lines. 2008-04-29 15:34:49 -04:00
generator.cxx BUG: Do not escape shell operators when generating command lines. 2008-04-29 15:34:49 -04:00
main.cxx ENH: now target names can be used in add_custom_command() and 2007-05-09 08:25:45 -04:00
tcat.cxx BUG: Do not escape shell operators when generating command lines. 2008-04-29 15:34:49 -04:00
wrapped.h
wrapper.cxx BUG: Fix new custom command with make-var expansion test on VS6. The VS6 IDE adds some extra characters to the variable value during expansion. 2008-06-05 10:01:16 -04:00