diff options
author | Brad King <brad.king@kitware.com> | 2011-01-24 16:18:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-05-20 12:57:51 (GMT) |
commit | d7b376b3a734c2356a1e5138cf0ae52112612e0c (patch) | |
tree | a08fdcb430533b4263e1474dae937e447e3ee529 /Modules/Platform | |
parent | ac5b999fffc88a1db3d4558e2dd6fd104cf2258a (diff) | |
download | CMake-d7b376b3a734c2356a1e5138cf0ae52112612e0c.zip CMake-d7b376b3a734c2356a1e5138cf0ae52112612e0c.tar.gz CMake-d7b376b3a734c2356a1e5138cf0ae52112612e0c.tar.bz2 |
Absoft: Detect implicit link libraries on Linux and Mac
Use the "-X -v" flag to the Absoft front-end to pass "-v" to the gcc it
invokes under the hood. Teach CMakeParseImplicitLinkInfo to exclude
linker version lines from consideration as link lines. Fix parsing of
Sun's linker search path option "-Y..." to avoid conflict with the Mac
linker option "-Y<num>".
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/Darwin-Absoft-Fortran.cmake | 1 | ||||
-rw-r--r-- | Modules/Platform/Linux-Absoft-Fortran.cmake | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin-Absoft-Fortran.cmake b/Modules/Platform/Darwin-Absoft-Fortran.cmake new file mode 100644 index 0000000..beb41a3 --- /dev/null +++ b/Modules/Platform/Darwin-Absoft-Fortran.cmake @@ -0,0 +1 @@ +set(CMAKE_Fortran_VERBOSE_FLAG "-X -v") # Runs gcc under the hood. diff --git a/Modules/Platform/Linux-Absoft-Fortran.cmake b/Modules/Platform/Linux-Absoft-Fortran.cmake new file mode 100644 index 0000000..beb41a3 --- /dev/null +++ b/Modules/Platform/Linux-Absoft-Fortran.cmake @@ -0,0 +1 @@ +set(CMAKE_Fortran_VERBOSE_FLAG "-X -v") # Runs gcc under the hood. |