From 01399cea3ff5d5d64c987d06c882a1c7c9cdd878 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 20 Jul 2017 08:55:37 +0200 Subject: Add modularized version --- libmprint/build/.gitignore | 1 + libmprint/build/bootstrap.build | 7 +++++++ libmprint/build/export.build | 6 ++++++ libmprint/build/root.build | 10 ++++++++++ 4 files changed, 24 insertions(+) create mode 100644 libmprint/build/.gitignore create mode 100644 libmprint/build/bootstrap.build create mode 100644 libmprint/build/export.build create mode 100644 libmprint/build/root.build (limited to 'libmprint/build') diff --git a/libmprint/build/.gitignore b/libmprint/build/.gitignore new file mode 100644 index 0000000..225c27f --- /dev/null +++ b/libmprint/build/.gitignore @@ -0,0 +1 @@ +config.build diff --git a/libmprint/build/bootstrap.build b/libmprint/build/bootstrap.build new file mode 100644 index 0000000..9290506 --- /dev/null +++ b/libmprint/build/bootstrap.build @@ -0,0 +1,7 @@ +project = libmprint + +using version +using config +using dist +using test +using install diff --git a/libmprint/build/export.build b/libmprint/build/export.build new file mode 100644 index 0000000..25c9281 --- /dev/null +++ b/libmprint/build/export.build @@ -0,0 +1,6 @@ +$out_root/: +{ + include libmprint/ +} + +export $out_root/libmprint/lib{mprint} diff --git a/libmprint/build/root.build b/libmprint/build/root.build new file mode 100644 index 0000000..0f4a099 --- /dev/null +++ b/libmprint/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