CMake/Tests/Fortran
Brad King fcb2a27982 Fix and simplify Fortran test compiler compatibility check
Since commit 38aab379 (Set CMAKE_<lang>_COMPILER_ID for VS generators,
2011-09-02) the VS IDE generators set the C and C++ compiler id to MSVC
and the Fortran compiler id to Intel.  This caused the Fortran test to
fail compatible compiler detection because the if() test

  "${CMAKE_C_COMPILER_ID}" MATCHES "MSVC"

is evaluated as the "var MATCHES regex" signature which evaluates the
compiler id "MSVC" as a variable which is defined to 1 which does not
match "MSVC".

Combine tests for non-identical but compatible compiler vendors into a
single regex match whose left hand side will not be defined as a
variable.
2011-12-15 09:25:49 -05:00
..
Executable Fix escapes in Fortran depend.make entries 2010-01-04 10:18:44 -05:00
External
in_interface
include
Library
CMakeLists.txt Fix and simplify Fortran test compiler compatibility check 2011-12-15 09:25:49 -05:00
foo.f
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
testf.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
world.f Test all target types in Fortran 2009-10-23 08:24:51 -04:00