[PATCH] D68412: [clang] [cmake] Support LLVM_DISTRIBUTION_COMPONENTS in stand-alone build
Michał Górny via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 3 11:41:33 PDT 2019
mgorny created this revision.
mgorny added reviewers: compnerd, tstellar, phosek, beanz, smeenai.
https://reviews.llvm.org/D68412
Files:
clang/CMakeLists.txt
Index: clang/CMakeLists.txt
===================================================================
--- clang/CMakeLists.txt
+++ clang/CMakeLists.txt
@@ -114,6 +114,7 @@
include(TableGen)
include(HandleLLVMOptions)
include(VersionFromVCS)
+ include(LLVMDistributionSupport)
set(PACKAGE_VERSION "${LLVM_PACKAGE_VERSION}")
@@ -852,6 +853,10 @@
endif()
add_subdirectory(utils/hmaptool)
+if(CLANG_BUILT_STANDALONE)
+ llvm_distribution_add_targets()
+endif()
+
configure_file(
${CLANG_SOURCE_DIR}/include/clang/Config/config.h.cmake
${CLANG_BINARY_DIR}/include/clang/Config/config.h)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68412.223064.patch
Type: text/x-patch
Size: 604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191003/226f2bbc/attachment.bin>
More information about the cfe-commits
mailing list