summaryrefslogtreecommitdiff
path: root/libmformat/build/root.build
blob: 4286e6642f5b7c2e867a4ed242d54694e6fc5246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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'

mxx{*}: extension = mxx
cxx{*}: extension = cxx