[Cmake-commits] [cmake-commits] hoffman committed CMakeLists.txt 1.16 1.17
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Oct 31 16:08:58 EDT 2008
Update of /cvsroot/CMake/CMake/Tests/Fortran
In directory public:/mounts/ram/cvs-serv29699
Modified Files:
CMakeLists.txt
Log Message:
ENH: do not error when sunpro or mipspro fortran used
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Fortran/CMakeLists.txt,v
retrieving revision 1.16
retrieving revision 1.17
diff -C 2 -d -r1.16 -r1.17
*** CMakeLists.txt 30 Oct 2008 21:32:40 -0000 1.16
--- CMakeLists.txt 31 Oct 2008 20:08:56 -0000 1.17
***************
*** 12,17 ****
include(FortranCInterface)
if(CMAKE_Fortran_COMPILER_SUPPORTS_F90)
! set(srcs foo.f)
! set(FORTRAN_FUNCTIONS test_mod:sub)
endif()
set(FORTRAN_FUNCTIONS ${FORTRAN_FUNCTIONS} my_sub mysub )
--- 12,28 ----
include(FortranCInterface)
if(CMAKE_Fortran_COMPILER_SUPPORTS_F90)
! if(FORTRAN_C_MODULE_MANGLING_FOUND)
! set(srcs foo.f)
! set(FORTRAN_FUNCTIONS test_mod:sub)
! else(FORTRAN_C_MODULE_MANGLING_FOUND)
! if(CMAKE_Fortran_COMPILER_ID MATCHES "SunPro|MIPSpro")
! message("SunPro and MPISpro compilers do not support"
! " linking Fortran module procedures from C")
! else()
! message("This will fail, but let the user see the error")
! set(srcs foo.f)
! set(FORTRAN_FUNCTIONS test_mod:sub)
! endif()
! endif(FORTRAN_C_MODULE_MANGLING_FOUND)
endif()
set(FORTRAN_FUNCTIONS ${FORTRAN_FUNCTIONS} my_sub mysub )
More information about the Cmake-commits
mailing list