• 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
..
AppleInfo.plist Loading commit data...
CMakeVSMacros1.vsmacros Loading commit data...
CMakeVSMacros2.vsmacros Loading commit data...
CMakeVisualStudio6Configurations.cmake Loading commit data...
CPack.GenericDescription.txt Loading commit data...
CPack.GenericLicense.txt Loading commit data...
CPack.GenericWelcome.txt Loading commit data...
CPackConfig.cmake.in Loading commit data...
CTestScript.cmake.in Loading commit data...
DLLFooter.dsptemplate Loading commit data...
DLLHeader.dsptemplate Loading commit data...
EXEFooter.dsptemplate Loading commit data...
EXEHeader.dsptemplate Loading commit data...
EXEWinHeader.dsptemplate Loading commit data...
TestDriver.cxx.in Loading commit data...
UtilityFooter.dsptemplate Loading commit data...
UtilityHeader.dsptemplate Loading commit data...
cygwin-package.sh.in Loading commit data...
staticLibFooter.dsptemplate Loading commit data...
staticLibHeader.dsptemplate Loading commit data...