CMake/Tests/FindPackageTest
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
..
A
B
Baz 1.1 Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
Baz 1.2/CMake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
Exporter Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
SystemPackage find_package: Test system package registry when possible 2011-04-13 14:28:00 -04:00
TApp.app/Contents/Resources
TFramework.framework/Versions/A/Resources
cmake find_package: add test for setting Foo_FOUND to FALSE in a Config file 2012-03-13 16:56:52 -04:00
include
lib Remove CMake-language block-end command arguments 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
FindLotsOfComponents.cmake FPHSA(): add HANDLE_COMPONENTS option 2012-03-19 10:53:36 -04:00
FindPackageHandleStandardArgs.cmake Prefer files from CMAKE_ROOT when including from CMAKE_ROOT 2011-01-04 08:06:20 -05:00
FindPackageTest.cxx
FindRecursiveA.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
FindRecursiveB.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
FindRecursiveC.cmake Convert CMake-language commands to lower case 2012-08-13 14:19:16 -04:00
FindVersionTestA.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindVersionTestB.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindVersionTestC.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
FindVersionTestD.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
RelocatableConfig.cmake.in add macro check_required_components() to configure_package_config_file() 2012-03-19 10:53:36 -04:00