summaryrefslogtreecommitdiff
path: root/libmformat/build/root.build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-07-20 08:55:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-07-20 08:55:31 +0200
commit0c71feb0363b337152f11e301303f85f9621c148 (patch)
treec87351ae473f43fff599061b9d1389f42357e0fd /libmformat/build/root.build
parent28b92b59909030424420fefbca5a3f5df22337b5 (diff)
Add modularized version
Diffstat (limited to 'libmformat/build/root.build')
-rw-r--r--libmformat/build/root.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/libmformat/build/root.build b/libmformat/build/root.build
new file mode 100644
index 0000000..0f4a099
--- /dev/null
+++ b/libmformat/build/root.build
@@ -0,0 +1,10 @@
+cxx.std = experimental
+
+cxx.features.symexport = true
+
+using cxx
+
+assert $cxx.features.modules 'c++ compiler does not support modules'
+
+mxx{*}: extension = mxx
+cxx{*}: extension = cxx