OSDN Git Service

[CMake][runtimes] Support monorepo layout with runtimes build
authorPetr Hosek <phosek@chromium.org>
Mon, 27 Nov 2017 22:31:11 +0000 (22:31 +0000)
committerPetr Hosek <phosek@chromium.org>
Mon, 27 Nov 2017 22:31:11 +0000 (22:31 +0000)
commit567f85d5315f5b83a15ea6823e7f197df18495a3
tree250df10eef1e4b23b01c6674cb39a13afee6c8ec
parent937b23b5fffa59deb1dc342cc5602d387d84a762
[CMake][runtimes] Support monorepo layout with runtimes build

We introduce a new variable LLVM_ENABLE_RUNTIMES which works
similarly to LLVM_ENABLE_PROJECTS and allows specifying runtimes
that will be enabled in the runtimes build.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319107 91177308-0d34-0410-b5e6-96231b3b80d8
runtimes/CMakeLists.txt