Create FortranCInterface_VERIFY function

This function builds a simple test project using a combination of
Fortran and C (and optionally C++) to verify that the compilers are
compatible.  The idea is to help projects report very early to users
that the compilers specified cannot mix languages.
This commit is contained in:
Brad King
2009-08-24 08:49:35 -04:00
parent 14f7a043e3
commit a9be85da2e
8 changed files with 126 additions and 0 deletions
+4
View File
@@ -17,6 +17,10 @@ else()
return()
endif()
# Invalidate verification results.
unset(FortranCInterface_VERIFIED_C CACHE)
unset(FortranCInterface_VERIFIED_CXX CACHE)
set(_result)
# Build a sample project which reports symbols.