[Cmake-commits] [cmake-commits] hoffman committed FortranCInterface.cmake 1.10 1.11
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Oct 29 19:49:20 EDT 2008
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv10519
Modified Files:
FortranCInterface.cmake
Log Message:
ENH: fix check for intel windows module mangling
Index: FortranCInterface.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FortranCInterface.cmake,v
retrieving revision 1.10
retrieving revision 1.11
diff -C 2 -d -r1.10 -r1.11
*** FortranCInterface.cmake 29 Oct 2008 23:34:12 -0000 1.10
--- FortranCInterface.cmake 29 Oct 2008 23:49:18 -0000 1.11
***************
*** 94,98 ****
${FORTRAN_C_MANGLING_UPPERCASE} "" "module" "sub" worked)
if(worked)
! string(TOLOWER "${interface}" interface)
string(REGEX REPLACE "(.*)test_interface(.*)" "\\1" pre "${interface}")
string(REGEX REPLACE "(.*)test_interface(.*)" "\\2" post "${interface}")
--- 94,102 ----
${FORTRAN_C_MANGLING_UPPERCASE} "" "module" "sub" worked)
if(worked)
! # if this is the upper case module match then
! # lower case it for the extraction of pre and post strings
! if("${interface}" MATCHES "TEST_INTERFACE")
! string(TOLOWER "${interface}" interface)
! endif()
string(REGEX REPLACE "(.*)test_interface(.*)" "\\1" pre "${interface}")
string(REGEX REPLACE "(.*)test_interface(.*)" "\\2" post "${interface}")
More information about the Cmake-commits
mailing list