llvm-6502/tools
NAKAMURA Takumi 043cc54d6c Simplify linking to system libraries
The LLVMSupport library implementation consolidates all dependencies on
system libraries.  Move the logic gathering system libraries out of
'cmake/modules/LLVM-Config.cmake' and into 'lib/Support/CMakeLists.txt'.
Use the target_link_libraries() command there to tell CMake about the
link dependencies of the LLVMSupport implementation.  CMake will
automatically propagate this to all targets that link LLVMSupport
directly or indirectly.

We still need to build knowledge of system library dependencies into
'llvm-config'.  Store the list of libraries needed in a property on
LLVMSupport and teach 'tools/llvm-config/CMakeLists.txt' to retrieve it
from there.

Drop all calls to 'link_system_libs' and 'get_system_libs' from our
CMake code.  Replace their implementations with a warning that explains
the calls are no longer necessary.  Also drop from 'LLVMConfig.cmake'
the HAVE_* and related variables that were published there only to allow
'get_system_libs' to run outside our build process.

Contributed by Brad King.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201969 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-23 06:27:04 +00:00
..
bugpoint [CodeGenPrepare] Move CodeGenPrepare into lib/CodeGen. 2014-02-22 00:07:45 +00:00
bugpoint-passes
gold Improve the declaration when LDPO_PIE is not available. 2014-02-11 17:30:18 +00:00
llc Make DisableIntegratedAS a TargetOption. 2014-02-21 03:13:54 +00:00
lli
llvm-ar Add a SymbolicFile interface between Binary and ObjectFile. 2014-02-21 20:10:59 +00:00
llvm-as
llvm-bcanalyzer
llvm-c-test
llvm-config Simplify linking to system libraries 2014-02-23 06:27:04 +00:00
llvm-cov llvm-cov: Support gcov's extermely lenient treatment of -o 2014-02-18 09:19:48 +00:00
llvm-diff
llvm-dis
llvm-dwarfdump
llvm-extract
llvm-jitlistener
llvm-link Set the SuppressWarnings option on tool level and propagate to the library. 2014-02-20 22:19:24 +00:00
llvm-lto Refactor TargetOptions initialization into a single place. 2014-02-19 17:09:35 +00:00
llvm-mc
llvm-mcmarkup
llvm-nm Add a SymbolicFile interface between Binary and ObjectFile. 2014-02-21 20:10:59 +00:00
llvm-objdump llvm-objdump/COFF: LoadConfiguration does not exist in object file. 2014-02-21 20:27:15 +00:00
llvm-profdata PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00
llvm-readobj
llvm-rtdyld
llvm-shlib
llvm-size
llvm-stress
llvm-symbolizer
lto [CMake] llvm-c/lto.h should be installed if libLTO.a is built. 2014-02-21 14:57:09 +00:00
macho-dump
msbuild MSBuild integration: get the LibraryPath right (PR18707) 2014-02-13 22:01:35 +00:00
obj2yaml
opt [CodeGenPrepare] Move CodeGenPrepare into lib/CodeGen. 2014-02-22 00:07:45 +00:00
yaml2obj
CMakeLists.txt PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00
LLVMBuild.txt PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00
Makefile PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00