From 0ddf6710ff00d609ae59c32eae9f50b50eb9aeb7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Aug 2017 15:22:20 +0200 Subject: Indicate that source is preprocessed to modules --- mhello/build/root.build | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.1