summaryrefslogtreecommitdiff
path: root/libmhello
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-02-14 11:48:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-02-14 11:48:33 +0200
commit5946833bcab36361f452f072bd81523473d2d00b (patch)
treeca62f612a09f3cf580503cea834234dd28d6c3f7 /libmhello
parent44ff984ac51ed1b27e6e7bc828cf9fe41205b4de (diff)
Make preprocessed=modules unconditional
Diffstat (limited to 'libmhello')
-rw-r--r--libmhello/build/root.build3
-rw-r--r--libmhello/tests/build/root.build3
2 files changed, 2 insertions, 4 deletions
diff --git a/libmhello/build/root.build b/libmhello/build/root.build
index 4286e66..3bca0b3 100644
--- a/libmhello/build/root.build
+++ b/libmhello/build/root.build
@@ -5,8 +5,7 @@ cxx.features.symexport = true
# 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
+cxx.preprocessed = modules
using cxx
diff --git a/libmhello/tests/build/root.build b/libmhello/tests/build/root.build
index 9e8c50d..240fd8f 100644
--- a/libmhello/tests/build/root.build
+++ b/libmhello/tests/build/root.build
@@ -1,7 +1,6 @@
cxx.std = experimental
-if ($cxx.id.type != 'msvc') # Temporary for 'export module M;' fixup.
- cxx.preprocessed = modules
+cxx.preprocessed = modules
using cxx