[libcxx-commits] [libcxx] [RFC][libc++] Install modules. (PR #75741)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 3 10:10:22 PST 2024


================
@@ -424,6 +428,8 @@ set(LIBCXX_INSTALL_INCLUDE_DIR "${CMAKE_INSTALL_INCLUDEDIR}/c++/v1" CACHE STRING
     "Path where target-agnostic libc++ headers should be installed.")
 set(LIBCXX_INSTALL_RUNTIME_DIR "${CMAKE_INSTALL_BINDIR}" CACHE STRING
     "Path where built libc++ runtime libraries should be installed.")
+set(LIBCXX_INSTALL_MODULE_DIR "usr/share/libc++/v1" CACHE STRING
+    "Path where target-agnostic libc++ modules should be installed.")
----------------
mordante wrote:

I did not add the "C++20", that can be confusing.
C++20 added modules
C++23 added the `std` and `std.compat` module, (which the major vendors make available in C++20).

https://github.com/llvm/llvm-project/pull/75741


More information about the libcxx-commits mailing list