[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.29 1.30

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


Update of /cvsroot/CMake/CMake/Tests/Fortran
In directory public:/mounts/ram/cvs-serv31631/Tests/Fortran

Modified Files:
	CMakeLists.txt 
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: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Fortran/CMakeLists.txt,v
retrieving revision 1.29
retrieving revision 1.30
diff -C 2 -d -r1.29 -r1.30
*** CMakeLists.txt	5 Aug 2009 17:40:29 -0000	1.29
--- CMakeLists.txt	24 Aug 2009 12:49:35 -0000	1.30
***************
*** 15,18 ****
--- 15,20 ----
    # test the C to Fortran interface module
    include(FortranCInterface)
+   FortranCInterface_VERIFY(QUIET)
+   FortranCInterface_VERIFY(QUIET CXX)
    if(CMAKE_Fortran_COMPILER_SUPPORTS_F90)
      if(NOT CMAKE_Fortran_COMPILER_ID MATCHES "SunPro|MIPSpro")



More information about the Cmake-commits mailing list