[libcxx-commits] [libcxx] [RFC][libc++] Install modules. (PR #75741)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 16 09:25:30 PST 2024
================
@@ -81,6 +81,15 @@ Improvements and New Features
- The ``_LIBCPP_ENABLE_CXX26_REMOVED_STRING_RESERVE`` macro has been added to make
the function ``std::basic_string<...>::reserve()`` available.
+- The experimental standard library module module interface unit source files
+ can now be installed. By default, they are not installed. This can be enabled
+ by configuring CMake with
+ ``-DLIBCXX_INSTALL_MODULE_INTERFACE_UNIT_SOURCES=ON``. The installation
+ directory can be configured with the CMake option
+ ``-DLIBCXX_INSTALL_MODULE_INTERFACE_UNIT_SOURCE_DIR=<path>``. The default
+ location is ``share/libc++/v1`` in the same prefix as the ``include``
+ directory.
----------------
ldionne wrote:
```suggestion
location is ``${PREFIX}/share/libc++/v1``.
```
https://github.com/llvm/llvm-project/pull/75741
More information about the libcxx-commits
mailing list