summaryrefslogtreecommitdiff
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
commit19c8384ef98fb67fca1a61ba4c679f5332554e8e (patch)
treec9976410d823e42dfd665e0e80221a1035477127
parentbdb6d839b1d6cbf25807c698313aa210d4ada2bc (diff)
Make preprocessed=modules unconditional
-rw-r--r--libmprint/build/root.build3
-rw-r--r--libmprint/tests/build/root.build3
2 files changed, 2 insertions, 4 deletions
diff --git a/libmprint/build/root.build b/libmprint/build/root.build
index 4286e66..3bca0b3 100644
--- a/libmprint/build/root.build
+++ b/libmprint/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/libmprint/tests/build/root.build b/libmprint/tests/build/root.build
index 9e8c50d..240fd8f 100644
--- a/libmprint/tests/build/root.build
+++ b/libmprint/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