diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-07-20 08:55:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-07-20 08:55:33 +0200 |
commit | 0f6b759e11451b9cdae4b5f64fdcc82989161482 (patch) | |
tree | a87e04705a8bde79c7748e79360c0e7a85781312 /libmhello/build | |
parent | 66aa08841aa5a920793264aba6b2b2aa6e271325 (diff) |
Add modularized version
Diffstat (limited to 'libmhello/build')
-rw-r--r-- | libmhello/build/.gitignore | 1 | ||||
-rw-r--r-- | libmhello/build/bootstrap.build | 7 | ||||
-rw-r--r-- | libmhello/build/export.build | 6 | ||||
-rw-r--r-- | libmhello/build/root.build | 10 |
4 files changed, 24 insertions, 0 deletions
diff --git a/libmhello/build/.gitignore b/libmhello/build/.gitignore new file mode 100644 index 0000000..225c27f --- /dev/null +++ b/libmhello/build/.gitignore @@ -0,0 +1 @@ +config.build diff --git a/libmhello/build/bootstrap.build b/libmhello/build/bootstrap.build new file mode 100644 index 0000000..efd74f9 --- /dev/null +++ b/libmhello/build/bootstrap.build @@ -0,0 +1,7 @@ +project = libmhello + +using version +using config +using dist +using test +using install diff --git a/libmhello/build/export.build b/libmhello/build/export.build new file mode 100644 index 0000000..8d39dbb --- /dev/null +++ b/libmhello/build/export.build @@ -0,0 +1,6 @@ +$out_root/: +{ + include libmhello/ +} + +export $out_root/libmhello/lib{mhello} diff --git a/libmhello/build/root.build b/libmhello/build/root.build new file mode 100644 index 0000000..0f4a099 --- /dev/null +++ b/libmhello/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 |