summaryrefslogtreecommitdiff
path: root/mhello/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'mhello/build/root.build')
-rw-r--r--mhello/build/root.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/mhello/build/root.build b/mhello/build/root.build
index a6a0f1b..509466f 100644
--- a/mhello/build/root.build
+++ b/mhello/build/root.build
@@ -1,5 +1,11 @@
cxx.std = experimental
+# Indicate that our sources do not use #include and module imports do not
+# depend on the preprocessor.
+#
+if ($cxx.id.type != 'msvc') # Temporary for 'export module M;' fixup.
+ cxx.preprocessed = modules
+
using cxx
cxx{*}: extension = cxx