diff options
author | Brad King <brad.king@kitware.com> | 2009-10-05 20:30:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-10-05 20:30:58 (GMT) |
commit | f7cfd5c99f4af94aa85c2c6ed15b9af80a40594f (patch) | |
tree | 885afb4d3dd818dc7d2aca9b542b881393cc0048 /Modules/FortranCInterface | |
parent | 02f85f98c670575bf9176d2d7dacb045407dc000 (diff) | |
download | CMake-f7cfd5c99f4af94aa85c2c6ed15b9af80a40594f.zip CMake-f7cfd5c99f4af94aa85c2c6ed15b9af80a40594f.tar.gz CMake-f7cfd5c99f4af94aa85c2c6ed15b9af80a40594f.tar.bz2 |
FortranCInterface: Mangling for Intel on Windows
The Intel Fortran compiler for Windows uses upper-case symbol names with
no trailing underscore.
Diffstat (limited to 'Modules/FortranCInterface')
-rw-r--r-- | Modules/FortranCInterface/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/FortranCInterface/CMakeLists.txt b/Modules/FortranCInterface/CMakeLists.txt index 8402940..d014d9a 100644 --- a/Modules/FortranCInterface/CMakeLists.txt +++ b/Modules/FortranCInterface/CMakeLists.txt @@ -25,8 +25,10 @@ set(global_symbols my_sub # VisualAge my_sub_ # GNU, Intel, HP, SunPro, MIPSpro my_sub__ # GNU g77 + MY_SUB # Intel on Windows mysub # VisualAge mysub_ # GNU, Intel, HP, SunPro, MIPSpro + MYSUB # Intel on Windows ${FortranCInterface_GLOBAL_SYMBOLS} ) list(REMOVE_DUPLICATES global_symbols) @@ -41,9 +43,11 @@ set(module_symbols __mymodule__mysub # GNU 4.2 my_module$my_sub # HP my_module_mp_my_sub_ # Intel + MY_MODULE_mp_MY_SUB # Intel on Windows my_module_my_sub_ # PGI mymodule$mysub # HP mymodule_mp_mysub_ # Intel + MYMODULE_mp_MYSUB # Intel on Windows mymodule_mysub_ # PGI ${FortranCInterface_MODULE_SYMBOLS} ) |