llvm-mirror/cmake/modules
NAKAMURA Takumi 7442e7c058 [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
..
AddLLVM.cmake [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
AddLLVMDefinitions.cmake
CheckAtomic.cmake
ChooseMSVCCRT.cmake
CMakeLists.txt
GetHostTriple.cmake
GetSVN.cmake
HandleLLVMOptions.cmake
HandleLLVMStdlib.cmake
LLVM-Config.cmake [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
LLVMConfig.cmake.in Simplify linking to system libraries 2014-02-23 06:27:04 +00:00
LLVMConfigVersion.cmake.in
LLVMParseArguments.cmake
LLVMProcessSources.cmake
Makefile Simplify linking to system libraries 2014-02-23 06:27:04 +00:00
TableGen.cmake TableGen.cmake: Functionalize and reformat. 2014-02-23 12:54:15 +00:00
VersionFromVCS.cmake