summaryrefslogtreecommitdiff
path: root/runtimes/Components.cmake.in
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2020-12-16 10:26:42 -0800
committerPetr Hosek <phosek@google.com>2021-01-11 23:39:36 -0800
commitb688c5875d08c586f7b35b8f9da1493ebbf92b45 (patch)
tree51303190abda0205a911e1c4483e051e60add25e /runtimes/Components.cmake.in
parentf9ef3a60037bffef6bbd2227b24e5cdb322d5eb2 (diff)
downloadllvm-b688c5875d08c586f7b35b8f9da1493ebbf92b45.tar.gz
[CMake] Split the target side of runtimes build
Previously, llvm/runtimes/CMakeLists.txt played two different roles: 1. host side which could used to set up the build of runtimes for different targets in the right order; 2. target side to build the runtimes for the specified target. This change splits llvm/runtimes/CMakeLists.txt and moves the target side to runtimes/CMakeLists laying down the foundation for the "A vision for building the runtimes" proposal. From the user perspective, there shouldn't be any visible difference at the moment. Differential Revision: https://reviews.llvm.org/D93408
Diffstat (limited to 'runtimes/Components.cmake.in')
-rw-r--r--runtimes/Components.cmake.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtimes/Components.cmake.in b/runtimes/Components.cmake.in
new file mode 100644
index 000000000000..1d8fb7ab174c
--- /dev/null
+++ b/runtimes/Components.cmake.in
@@ -0,0 +1,3 @@
+set(SUB_COMPONENTS @SUB_COMPONENTS@)
+set(SUB_CHECK_TARGETS @SUB_CHECK_TARGETS@)
+set(SUB_INSTALL_TARGETS @SUB_INSTALL_TARGETS@)