From 0c71feb0363b337152f11e301303f85f9621c148 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 20 Jul 2017 08:55:31 +0200 Subject: Add modularized version --- libmformat/build/.gitignore | 1 + libmformat/build/bootstrap.build | 7 +++++++ libmformat/build/export.build | 6 ++++++ libmformat/build/root.build | 10 ++++++++++ 4 files changed, 24 insertions(+) create mode 100644 libmformat/build/.gitignore create mode 100644 libmformat/build/bootstrap.build create mode 100644 libmformat/build/export.build create mode 100644 libmformat/build/root.build (limited to 'libmformat/build') 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 -- cgit v1.1