diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-10 15:50:46 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-10 15:50:46 (GMT) |
commit | a40147abcecb87507c8b9f1007f3b53b324a660d (patch) | |
tree | 158e94befb5cc4cfad7392bc274a645b198a9f10 /Modules | |
parent | 564a23c6ba01aaef15af64758b21785fd6cdb9fc (diff) | |
download | CMake-a40147abcecb87507c8b9f1007f3b53b324a660d.zip CMake-a40147abcecb87507c8b9f1007f3b53b324a660d.tar.gz CMake-a40147abcecb87507c8b9f1007f3b53b324a660d.tar.bz2 |
ENH: add support for visual age fortran on linux
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeFortranCompilerId.F90 | 2 | ||||
-rw-r--r-- | Modules/Platform/Linux-VisualAge-C.cmake | 3 | ||||
-rw-r--r-- | Modules/Platform/Linux-VisualAge-Fortran.cmake | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/Modules/CMakeFortranCompilerId.F90 b/Modules/CMakeFortranCompilerId.F90 index 0f63a1a..8881313 100644 --- a/Modules/CMakeFortranCompilerId.F90 +++ b/Modules/CMakeFortranCompilerId.F90 @@ -11,7 +11,7 @@ PROGRAM CMakeFortranCompilerId ! This compiler is either not known or is too old to define an ! identification macro. Try to identify the platform and guess that ! it is the native compiler. -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) || defined ( __IBM__ ) || defined ( __IBMC__ ) PRINT *, 'INFO:compiler[VisualAge]' #elif defined(__sgi) || defined(__sgi__) || defined(_SGI) PRINT *, 'INFO:compiler[MIPSpro]' diff --git a/Modules/Platform/Linux-VisualAge-C.cmake b/Modules/Platform/Linux-VisualAge-C.cmake new file mode 100644 index 0000000..62858ac --- /dev/null +++ b/Modules/Platform/Linux-VisualAge-C.cmake @@ -0,0 +1,3 @@ +SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") +SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") +message(" :::::::: here") diff --git a/Modules/Platform/Linux-VisualAge-Fortran.cmake b/Modules/Platform/Linux-VisualAge-Fortran.cmake new file mode 100644 index 0000000..295226b --- /dev/null +++ b/Modules/Platform/Linux-VisualAge-Fortran.cmake @@ -0,0 +1,2 @@ +SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") +SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") |