summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Darwin-NAG-Fortran.cmake
Commit message (Collapse)AuthorAgeFilesLines
* OS X: Add Fortran library version flags (#14249)Graham Markall2013-07-161-0/+8
| | | | | | | | | The linker flags for setting the compatibility and current versions of libraries on Darwin are set for the supported Fortran compilers. Set CMAKE_Fortran_CREATE_SHARED_LIBRARY for the NAG Fortran compiler to have no space after <SONAME_FLAG> so the NAG compiler can parse the argument correctly.
* OS X: Add copyright notices to Darwin-*-Fortran.cmakeBrad King2013-07-161-0/+13
|
* Add NAG Fortran compiler information filesBrad King2010-12-091-0/+5
On Linux the NAG Fortran compiler uses gcc under the hood to link. Use "-Wl,-v" to pass "-v" to the underlying gcc compiler to get verbose link output. Detect the NAG Fortran directory (using -dryrun) and then honor object files in the directory referenced in the implicit link line. Pass real linker options with "-Wl,-Xlinker,". The -Wl, gets through the NAG front-end and the -Xlinker gets through the gcc front-end.