[CMake] Bug 19462 - Use the INSTALL(EXPORT ...) to export CMake definitions
authorChris Bieneman <beanz@apple.com>
Fri, 29 May 2015 18:36:20 +0000 (18:36 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 29 May 2015 18:36:20 +0000 (18:36 +0000)
commit8eb2fc8c4a60445c84d996e2f369001106d309d9
treedf249f26d43f78788afef988fe610a19db78f5c3
parent7c445dd6c7dd356fe36889ab0b0f03295e328283
[CMake] Bug 19462 - Use the INSTALL(EXPORT ...) to export CMake definitions

Summary: This patch moves all the clang library targets into a ClangTargets export list, and installs it using the CMake install(EXPORT...) command.

Reviewers: rnk

Reviewed By: rnk

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D7623

llvm-svn: 238593
clang/CMakeLists.txt