diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-02 15:22:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-02 15:22:20 +0200 |
commit | 0ddf6710ff00d609ae59c32eae9f50b50eb9aeb7 (patch) | |
tree | 11952a4b14e262a93bd11f6f21a689f446eae407 | |
parent | 89765e31c5ef4a939683a3b79e8a87fcaae06c18 (diff) |
Indicate that source is preprocessed to modules
-rw-r--r-- | mhello/build/root.build | 6 |
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 |