diff options
author | Brad King <brad.king@kitware.com> | 2009-07-23 14:07:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-23 14:07:25 (GMT) |
commit | 07ea19ad1f280e7a1cb07ab2b52c0081f72251dd (patch) | |
tree | 3844b6660772215cdae9420ddcfa3574be35e8db /Tests/SystemInformation/SystemInformation.in | |
parent | 797e49a1cc53fb120fad286665c875075eb18361 (diff) | |
download | CMake-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 'Tests/SystemInformation/SystemInformation.in')
-rw-r--r-- | Tests/SystemInformation/SystemInformation.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/SystemInformation/SystemInformation.in b/Tests/SystemInformation/SystemInformation.in index c6018a8..477dea0 100644 --- a/Tests/SystemInformation/SystemInformation.in +++ b/Tests/SystemInformation/SystemInformation.in @@ -86,3 +86,10 @@ CMAKE_CXX_COMPILE_OBJECT == "${CMAKE_CXX_COMPILE_OBJECT}" CMAKE_C_COMPILE_OBJECT == "${CMAKE_C_COMPILE_OBJECT}" CMAKE_C_LINK_EXECUTABLE == "${CMAKE_C_LINK_EXECUTABLE}" CMAKE_CXX_LINK_EXECUTABLE == "${CMAKE_CXX_LINK_EXECUTABLE}" + +// implicit link info +CMAKE_C_IMPLICIT_LINK_LIBRARIES == "${CMAKE_C_IMPLICIT_LINK_LIBRARIES}" +CMAKE_C_IMPLICIT_LINK_DIRECTORIES == "${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}" +CMAKE_CXX_IMPLICIT_LINK_LIBRARIES == "${CMAKE_CXX_IMPLICIT_LINK_LIBRARIES}" +CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES == "${CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES}" + |