[libcxx-commits] [libcxx] [libc++][modules] Adds std.compat module. (PR #71438)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 23 11:35:04 PST 2023


================
@@ -7,9 +7,19 @@ add_custom_target(libcxx-generate-std-clang-module-header
   COMMENT "Generate the <__std_clang_module> header")
 
 add_custom_target(libcxx-generate-std-cppm-in-file
-  COMMAND "${Python3_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/generate_std_cppm_in.py"
+  COMMAND
+        "${Python3_EXECUTABLE}"
+		"${LIBCXX_SOURCE_DIR}/utils/generate_libcxx_cppm_in.py"
+		"std"
   COMMENT "Generate the std.cppm.in file")
 
+add_custom_target(libcxx-generate-std-compat-cppm-in-file
+  COMMAND
+        "${Python3_EXECUTABLE}"
----------------
mordante wrote:

This seems to be done at other places in this file too, not consistently however. For now I keep it since it matches the most common case.

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


More information about the libcxx-commits mailing list