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

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Dec 18 12:34:42 PST 2023


================
@@ -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 "${CMAKE_INSTALL_INCLUDEDIR}/../modules/c++/v1" CACHE STRING
----------------
ldionne wrote:

Following @ruoso 's comment in https://github.com/llvm/llvm-project/pull/75741#issuecomment-1861199593, I would suggest making this something much less pretty than `modules/c++/v1` so as to not give the impression that folks can rely on this as a stable name.

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


More information about the libcxx-commits mailing list