• Kitware Robot's avatar
    Convert CMake-language commands to lower case · 77543bde
    Kitware Robot authored
    Ancient CMake versions required upper-case commands.  Later command
    names became case-insensitive.  Now the preferred style is lower-case.
    
    Run the following shell code:
    
    cmake --help-command-list |
    grep -v "cmake version" |
    while read c; do
        echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
    done >convert.sed &&
    git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
    egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
    xargs -0 sed -i -f convert.sed &&
    rm convert.sed
    77543bde
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...