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 ENH: Add test for new find_* command HINTS option. 2008-06-09 15:09:14 -04:00
B ENH: Add test for new find_* command HINTS option. 2008-06-09 15:09:14 -04:00
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 ENH: Updated FindPackageTest to test new find_package command features. 2008-01-17 09:06:36 -05:00
TFramework.framework/Versions/A/Resources ENH: Updated FindPackageTest to test new find_package command features. 2008-01-17 09:06:36 -05:00
cmake find_package: add test for setting Foo_FOUND to FALSE in a Config file 2012-03-13 16:56:52 -04:00
include ENH: add support for CMAKE_FIND_PREFIX_PATH as discussed with Brad. 2007-10-26 09:55:40 -04:00
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 ENH: Added FindPackageTest to improve coverage. 2003-07-24 11:33:06 -04:00
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