• 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
..
Architecture Loading commit data...
ArgumentExpansion Loading commit data...
Assembler Loading commit data...
BuildDepends Loading commit data...
BundleGeneratorTest Loading commit data...
BundleTest Loading commit data...
BundleUtilities Loading commit data...
CFBundleTest Loading commit data...
CMakeCommands/target_link_libraries Loading commit data...
CMakeLib Loading commit data...
CMakeOnly Loading commit data...
CMakeTestAllGenerators Loading commit data...
CMakeTestBadCommandLines Loading commit data...
CMakeTestMultipleConfigures Loading commit data...
CMakeTests Loading commit data...
COnly Loading commit data...
CPackComponents Loading commit data...
CPackComponentsForAll Loading commit data...
CPackTestAllGenerators Loading commit data...
CTestConfig Loading commit data...
CTestScriptMode Loading commit data...
CTestTest Loading commit data...
CTestTest2 Loading commit data...
CTestTestBadExe Loading commit data...
CTestTestChecksum Loading commit data...
CTestTestConfigFileInBuildDir Loading commit data...
CTestTestCostSerial Loading commit data...
CTestTestCrash Loading commit data...
CTestTestCycle Loading commit data...
CTestTestDepends Loading commit data...
CTestTestFailedSubmits Loading commit data...
CTestTestFailure Loading commit data...
CTestTestParallel Loading commit data...
CTestTestResourceLock Loading commit data...
CTestTestRunScript Loading commit data...
CTestTestScheduler Loading commit data...
CTestTestStopTime Loading commit data...
CTestTestSubdir Loading commit data...
CTestTestTimeout Loading commit data...
CTestTestUpload Loading commit data...
CTestTestZeroTimeout Loading commit data...
CheckCompilerRelatedVariables Loading commit data...
CommandLineTest Loading commit data...
CompileCommandOutput Loading commit data...
Complex Loading commit data...
ComplexOneConfig Loading commit data...
Contracts Loading commit data...
CrossCompile Loading commit data...
CustComDepend Loading commit data...
CustomCommand Loading commit data...
CustomCommandWorkingDirectory Loading commit data...
CxxOnly Loading commit data...
Dependency Loading commit data...
DocTest Loading commit data...
DoubleProject Loading commit data...
EmptyLibrary Loading commit data...
Environment Loading commit data...
ExportImport Loading commit data...
ExternalOBJ Loading commit data...
ExternalProject Loading commit data...
FindModulesExecuteAll Loading commit data...
FindPackageModeMakefileTest Loading commit data...
FindPackageTest Loading commit data...
ForceInclude Loading commit data...
Fortran Loading commit data...
FortranC Loading commit data...
FortranOnly Loading commit data...
Framework Loading commit data...
FunctionTest Loading commit data...
IPO Loading commit data...
IncludeDirectories Loading commit data...
JCTest Loading commit data...
Java Loading commit data...
Jump Loading commit data...
KDE4StableBranchTest Loading commit data...
LibName Loading commit data...
LinkDirectory Loading commit data...
LinkFlags Loading commit data...
LinkLanguage Loading commit data...
LinkLine Loading commit data...
LinkLineOrder Loading commit data...
LinkStatic Loading commit data...
LoadCommand Loading commit data...
LoadCommandOneConfig Loading commit data...
MFC Loading commit data...
MacroTest Loading commit data...
MakeClean Loading commit data...
MathTest Loading commit data...
MissingSourceFile Loading commit data...
Module Loading commit data...
ModuleDefinition Loading commit data...
MumpsCoverage Loading commit data...
NewlineArgs Loading commit data...
ObjC++ Loading commit data...
ObjectLibrary Loading commit data...
OutDir Loading commit data...
OutOfBinary Loading commit data...
OutOfSource Loading commit data...
PerConfig Loading commit data...
Plugin Loading commit data...
Policy0002 Loading commit data...
PolicyScope Loading commit data...
PositionIndependentTargets Loading commit data...
PreOrder Loading commit data...
PrecompiledHeader Loading commit data...
Preprocess Loading commit data...
Properties Loading commit data...
Qt4Deploy Loading commit data...
QtAutomoc Loading commit data...
ReturnTest Loading commit data...
RunCMake Loading commit data...
RuntimePath Loading commit data...
SBCS Loading commit data...
SameName Loading commit data...
SetLang Loading commit data...
Simple Loading commit data...
SimpleCOnly Loading commit data...
SimpleExclude Loading commit data...
SimpleInstall Loading commit data...
SimpleInstallS2 Loading commit data...
SourceGroups Loading commit data...
StringFileTest Loading commit data...
SubDir Loading commit data...
SubDirSpaces Loading commit data...
SubProject Loading commit data...
SwigTest Loading commit data...
SystemInformation Loading commit data...
TarTest Loading commit data...
TargetName Loading commit data...
TestDriver Loading commit data...
Testing Loading commit data...
TestsWorkingDirectory Loading commit data...
TryCompile Loading commit data...
Tutorial Loading commit data...
Unset Loading commit data...
VSExternalInclude Loading commit data...
VSGNUFortran Loading commit data...
VSMidl Loading commit data...
VSResource Loading commit data...
VariableUnusedViaSet Loading commit data...
VariableUnusedViaUnset Loading commit data...
VariableUsage Loading commit data...
Wrapping Loading commit data...
X11 Loading commit data...
iOSNavApp Loading commit data...
.NoDartCoverage Loading commit data...
CMakeBuildTest.cmake.in Loading commit data...
CMakeInstall.cmake Loading commit data...
CMakeLists.txt Loading commit data...
CMakeWizardTest.cmake Loading commit data...
CTestUpdateBZR.cmake.in Loading commit data...
CTestUpdateCVS.cmake.in Loading commit data...
CTestUpdateCommon.cmake Loading commit data...
CTestUpdateGIT.cmake.in Loading commit data...
CTestUpdateGIT.sh.in Loading commit data...
CTestUpdateHG.cmake.in Loading commit data...
CTestUpdateSVN.cmake.in Loading commit data...
CheckFortran.cmake Loading commit data...
EnforceConfig.cmake.in Loading commit data...
README Loading commit data...
TestInstall.sh.in Loading commit data...
bootstrap.bat.in Loading commit data...
test_clean.cmake.in Loading commit data...