OSDN Git Service

[CMake] Export CMAKE_CONFIGURATION_TYPES for the LLVM build-tree
authorStefan Granitz <stefan.graenitz@gmail.com>
Wed, 5 Jun 2019 08:29:24 +0000 (08:29 +0000)
committerStefan Granitz <stefan.graenitz@gmail.com>
Wed, 5 Jun 2019 08:29:24 +0000 (08:29 +0000)
commit561003e724c852ae28d405b0600e2c2b7cbac1f7
tree6823a0c469d3c1adfb02f9b49787ff132be26480
parentba07e9c75b68125d7eb3083eee9fc52e78407593
[CMake] Export CMAKE_CONFIGURATION_TYPES for the LLVM build-tree

Summary: Useful info for standalone builds of subprojects. If a multi-configuration generator was used for the provided LLVM build-tree, standalone builds should consider actual subdirectories per configuration in `find_program()` (e.g. looking for `llvm-lit` or `llvm-tblgen`).

Reviewers: labath, beanz, mgorny

Subscribers: lldb-commits, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D62878

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