Load exported lib and exe targets from LLVMConfig
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 9 Feb 2014 16:36:28 +0000 (16:36 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 9 Feb 2014 16:36:28 +0000 (16:36 +0000)
commit3e308c868e63089c1383dbb6786377eca06a53b1
tree84ae741074631c6038907e263e6a4be5f90114de
parent5778c9eb6301583176a724fccf20fe7f19c36e4f
Load exported lib and exe targets from LLVMConfig

Teach each package configuration file to load the LLVMExports file for
its corresponding tree.  This will allow application CMake code to use
logical library and executable target names from LLVM as if they were in
our own build process (e.g. LLVMSupport).  CMake will have enough
information to propagate LLVM library link dependencies automatically
while configuring applications.

Contributed by Brad King.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201051 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/CMakeLists.txt
cmake/modules/LLVMConfig.cmake.in