summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/SunPro-Fortran.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-23 14:07:25 (GMT)
committerBrad King <brad.king@kitware.com>2009-07-23 14:07:25 (GMT)
commit07ea19ad1f280e7a1cb07ab2b52c0081f72251dd (patch)
tree3844b6660772215cdae9420ddcfa3574be35e8db /Modules/Compiler/SunPro-Fortran.cmake
parent797e49a1cc53fb120fad286665c875075eb18361 (diff)
downloadCMake-07ea19ad1f280e7a1cb07ab2b52c0081f72251dd.zip
CMake-07ea19ad1f280e7a1cb07ab2b52c0081f72251dd.tar.gz
CMake-07ea19ad1f280e7a1cb07ab2b52c0081f72251dd.tar.bz2
ENH: Implicit link info for C, CXX, and Fortran
This teaches CMake to detect implicit link information for C, C++, and Fortran compilers. We detect the implicit linker search directories and implicit linker options for UNIX-like environments using verbose output from compiler front-ends. We store results in new variables called CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES The implicit libraries can contain linker flags as well as library names.
Diffstat (limited to 'Modules/Compiler/SunPro-Fortran.cmake')
-rw-r--r--Modules/Compiler/SunPro-Fortran.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/SunPro-Fortran.cmake b/Modules/Compiler/SunPro-Fortran.cmake
new file mode 100644
index 0000000..7f7c128
--- /dev/null
+++ b/Modules/Compiler/SunPro-Fortran.cmake
@@ -0,0 +1 @@
+SET(CMAKE_Fortran_VERBOSE_FLAG "-v")