mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 13:48:33 -05:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user