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 | 9822d88925f558d103943ef0a9e083f33c886868 (patch) | |
tree | 64895434fd0447484131d02741ad001af6278dbd /libmprint/build/root.build | |
parent | 7911ece91007ece37d4ab33a0be95a70cb7a2761 (diff) |
Indicate that source is preprocessed to modules
Diffstat (limited to 'libmprint/build/root.build')
-rw-r--r-- | libmprint/build/root.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libmprint/build/root.build b/libmprint/build/root.build index 0f4a099..4286e66 100644 --- a/libmprint/build/root.build +++ b/libmprint/build/root.build @@ -2,6 +2,12 @@ cxx.std = experimental 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 + using cxx assert $cxx.features.modules 'c++ compiler does not support modules' |