[PATCH] D41755: [CMake] Collect target names in the global LLVM_RUNTIMES property
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 4 18:20:20 PST 2018
phosek created this revision.
phosek added a reviewer: beanz.
Herald added subscribers: cfe-commits, mgorny.
This allows exporting the runtimes targets using the CMake export.
Repository:
rCXX libc++
https://reviews.llvm.org/D41755
Files:
lib/CMakeLists.txt
Index: lib/CMakeLists.txt
===================================================================
--- lib/CMakeLists.txt
+++ lib/CMakeLists.txt
@@ -360,6 +360,7 @@
LIBRARY DESTINATION ${LIBCXX_INSTALL_PREFIX}lib${LIBCXX_LIBDIR_SUFFIX} COMPONENT cxx
ARCHIVE DESTINATION ${LIBCXX_INSTALL_PREFIX}lib${LIBCXX_LIBDIR_SUFFIX} COMPONENT cxx
)
+ set_property(GLOBAL APPEND PROPERTY LLVM_RUNTIMES ${LIBCXX_TARGETS} ${experimental_lib})
# NOTE: This install command must go after the cxx install command otherwise
# it will not be executed after the library symlinks are installed.
if (LIBCXX_ENABLE_SHARED AND LIBCXX_ENABLE_ABI_LINKER_SCRIPT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41755.128704.patch
Type: text/x-patch
Size: 655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180105/21b9d7b8/attachment-0001.bin>
More information about the cfe-commits
mailing list