[PATCH] D45269: [CMake] Support for monorepo layout
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 4 10:37:04 PDT 2018
phosek created this revision.
phosek added reviewers: EricWF, beanz.
Herald added subscribers: cfe-commits, christof, mgorny.
Support finding libcxx and libunwind sources in monorepo style layout.
Repository:
rCXXA libc++abi
https://reviews.llvm.org/D45269
Files:
libcxxabi/CMakeLists.txt
Index: libcxxabi/CMakeLists.txt
===================================================================
--- libcxxabi/CMakeLists.txt
+++ libcxxabi/CMakeLists.txt
@@ -99,6 +99,7 @@
set(LIBCXXABI_LIBCXX_SRC_DIRS
"${LLVM_MAIN_SRC_DIR}/projects/libcxx"
"${LLVM_MAIN_SRC_DIR}/runtimes/libcxx"
+ "${LLVM_MAIN_SRC_DIR}/../libcxx"
)
endif()
@@ -426,6 +427,7 @@
${CMAKE_BINARY_DIR}/${LIBCXXABI_LIBUNWIND_INCLUDES}
${LLVM_MAIN_SRC_DIR}/projects/libunwind/include
${LLVM_MAIN_SRC_DIR}/runtimes/libunwind/include
+ ${LLVM_MAIN_SRC_DIR}/../libunwind/include
NO_DEFAULT_PATH
NO_CMAKE_FIND_ROOT_PATH
)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45269.140989.patch
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180404/d62904e2/attachment.bin>
More information about the cfe-commits
mailing list