summaryrefslogtreecommitdiff
path: root/libmformat/build
diff options
context:
space:
mode:
Diffstat (limited to 'libmformat/build')
-rw-r--r--libmformat/build/.gitignore1
-rw-r--r--libmformat/build/bootstrap.build7
-rw-r--r--libmformat/build/export.build6
-rw-r--r--libmformat/build/root.build10
4 files changed, 24 insertions, 0 deletions
diff --git a/libmformat/build/.gitignore b/libmformat/build/.gitignore
new file mode 100644
index 0000000..225c27f
--- /dev/null
+++ b/libmformat/build/.gitignore
@@ -0,0 +1 @@
+config.build
diff --git a/libmformat/build/bootstrap.build b/libmformat/build/bootstrap.build
new file mode 100644
index 0000000..9bf0463
--- /dev/null
+++ b/libmformat/build/bootstrap.build
@@ -0,0 +1,7 @@
+project = libmformat
+
+using version
+using config
+using dist
+using test
+using install
diff --git a/libmformat/build/export.build b/libmformat/build/export.build
new file mode 100644
index 0000000..3416bd3
--- /dev/null
+++ b/libmformat/build/export.build
@@ -0,0 +1,6 @@
+$out_root/:
+{
+ include libmformat/
+}
+
+export $out_root/libmformat/lib{mformat}
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