[Cmake-commits] [cmake-commits] king committed Detect.cmake 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Aug 24 08:49:29 EDT 2009


Update of /cvsroot/CMake/CMake/Modules/FortranCInterface
In directory public:/mounts/ram/cvs-serv31631/Modules/FortranCInterface

Modified Files:
	Detect.cmake 
Log Message:
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.


Index: Detect.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FortranCInterface/Detect.cmake,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** Detect.cmake	24 Aug 2009 12:49:07 -0000	1.1
--- Detect.cmake	24 Aug 2009 12:49:27 -0000	1.2
***************
*** 18,21 ****
--- 18,25 ----
  endif()
  
+ # Invalidate verification results.
+ unset(FortranCInterface_VERIFIED_C CACHE)
+ unset(FortranCInterface_VERIFIED_CXX CACHE)
+ 
  set(_result)
  



More information about the Cmake-commits mailing list