• Kitware Robot's avatar
    Remove CMake-language block-end command arguments · 9db31162
    Kitware Robot authored
    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
    9db31162
Name
Last commit
Last update
..
Doxygen Loading commit data...
Git Loading commit data...
GitSetup Loading commit data...
KWIML Loading commit data...
KWStyle Loading commit data...
Release Loading commit data...
cmbzip2 Loading commit data...
cmcompress Loading commit data...
cmcurl Loading commit data...
cmexpat Loading commit data...
cmlibarchive Loading commit data...
cmzlib Loading commit data...
xml Loading commit data...
.NoDartCoverage Loading commit data...
.gitattributes Loading commit data...
CMakeLists.txt Loading commit data...
SetupForDevelopment.sh Loading commit data...
cmThirdParty.h.in Loading commit data...
cm_bzlib.h Loading commit data...
cm_curl.h Loading commit data...
cm_expat.h Loading commit data...
cm_libarchive.h Loading commit data...
cm_xmlrpc.h Loading commit data...
cm_zlib.h Loading commit data...
cmake.m4 Loading commit data...