llvm-project/lld/lib/Core
NAKAMURA Takumi 955d27a4ce [CMake] Use target_link_libraries(INTERFACE|PRIVATE) on CMake-2.8.12 to increase opportunity for parallel build.
target_link_libraries(INTERFACE) doesn't bring inter-target dependencies in add_library,
although final targets have dependencies to whole dependent libraries.
It makes most libraries can be built in parallel.

target_link_libraries(PRIVATE) is used to shaared library.
Each dependent library is linked to the target.so, and its user will not see its grandchildren.
For example,

  - libclang.so has sufficient libclang*.a(s).
  - c-index-test requires just only libclang.so.

FIXME: lld is tweaked minimally. Adding INTERFACE in each library would be better thing.
llvm-svn: 202241
2014-02-26 06:53:16 +00:00
..
CMakeLists.txt [CMake] Use target_link_libraries(INTERFACE|PRIVATE) on CMake-2.8.12 to increase opportunity for parallel build. 2014-02-26 06:53:16 +00:00
DefinedAtom.cpp [PECOFF] Refactor IdataPass. 2013-12-11 08:23:37 +00:00
Error.cpp [InputGraph][Gnu] Add LinkerScript support. 2013-11-24 23:12:36 +00:00
File.cpp Remove extraneous curly braces and blank lines. 2013-11-19 06:18:39 +00:00
InputGraph.cpp Use getError instead of the error_code operator. 2014-01-08 22:00:09 +00:00
LinkingContext.cpp Use getError instead of the error_code operator. 2014-01-08 22:00:09 +00:00
PassManager.cpp Remove extraneous curly braces and blank lines. 2013-11-19 06:18:39 +00:00
Resolver.cpp Fix odd titlecasing and spacing in an error message. 2014-01-18 00:57:40 +00:00
SymbolTable.cpp Early return. 2013-11-25 17:09:29 +00:00
TODO.txt remove completed items 2012-05-04 01:14:02 +00:00