Filter libraries that are not installed out of CMake exports (currently
authorDan Liew <dan@su-root.co.uk>
Fri, 21 Aug 2015 18:10:57 +0000 (18:10 +0000)
committerDan Liew <dan@su-root.co.uk>
Fri, 21 Aug 2015 18:10:57 +0000 (18:10 +0000)
commit299db164f56bf148055fb83d9ff5c6516b316733
tree360133c499ce1032c88d34a5e840775ccab0eb41
parentfe112c27a20bfb6e5271cb43f89bebb9628ebcaf
Filter libraries that are not installed out of CMake exports (currently
gtest and gtest_main) when generating ``Makefile.llvmbuild``.

Libraries that are not installed should not be exported because they
won't be available from an install tree.  Rather than filtering out the
gtest libraries in cmake/modules/Makefile, simply teach llvm-build to
filter out libraries that will not be installed from its generated list
of exported libraries.

Note that LLVMBUILD_LIB_DEPS_* are used during our own CMake build
process so we cannot filter LLVMBUILD_LIB_DEPS_gtest* out in llvm-build.
We must leave this gtest filter logic in cmake/modules/Makefile.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245718 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/Makefile
utils/llvm-build/llvmbuild/main.py