File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
llvm/utils/gn/secondary/libcxx/include Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,13 @@ if (current_toolchain == default_toolchain) {
6565 values = []
6666 }
6767
68+ write_cmake_config (" write_modulemap" ) {
69+ input = " module.modulemap.in"
70+ output = " $libcxx_generated_include_dir /module.modulemap"
71+ values =
72+ [ " LIBCXX_CONFIG_SITE_MODULE_ENTRY=textual header \" __config_site\" " ]
73+ }
74+
6875 copy (" copy_headers" ) {
6976 sources = [
7077 " __algorithm/adjacent_find.h" ,
@@ -1677,7 +1684,6 @@ if (current_toolchain == default_toolchain) {
16771684 " mdspan" ,
16781685 " memory" ,
16791686 " memory_resource" ,
1680- " module.modulemap" ,
16811687 " mutex" ,
16821688 " new" ,
16831689 " numbers" ,
@@ -1732,6 +1738,7 @@ if (current_toolchain == default_toolchain) {
17321738 deps = [
17331739 " :write_assertion_handler" ,
17341740 " :write_config_site" ,
1741+ " :write_modulemap" ,
17351742 ]
17361743 if (target_os != " mac" && target_os != " win" ) {
17371744 # libcxx/cmake/Modules/HandleLibCXXABI.cmake sets
You can’t perform that action at this time.
0 commit comments