CMake/Tests/Fortran
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
..
Executable Fix escapes in Fortran depend.make entries 2010-01-04 10:18:44 -05:00
External
Library Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
in_interface
include
CMakeLists.txt Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
foo.f Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
hello.f Test all target types in Fortran 2009-10-23 08:24:51 -04:00
mainc.c Test C, C++, Fortran interface combinations 2009-08-04 14:06:45 -04:00
maincxx.c Test C, C++, Fortran interface combinations 2009-08-04 14:06:45 -04:00
myc.c Rewrite FortranCInterface module 2009-08-05 13:40:29 -04:00
mycxx.cxx Test C, C++, Fortran interface combinations 2009-08-04 14:06:45 -04:00
mysub.f
test_module_implementation.f90
test_module_interface.f90
test_module_main.f90
test_preprocess.F90
test_use_in_comment_fixedform.f
test_use_in_comment_freeform.f90 Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
testf.f Test all target types in Fortran 2009-10-23 08:24:51 -04:00
world.f Test all target types in Fortran 2009-10-23 08:24:51 -04:00
world_gnu.def Fix Fortran test .def file symbol mangling 2011-02-23 11:05:14 -05:00
world_icl.def Fix Fortran test .def file symbol mangling 2011-02-23 11:05:14 -05:00