diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-09-28 18:03:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-09-28 18:03:28 +0200 |
commit | 297bc80eab5128e1cde7cd597368109a033b6cc0 (patch) | |
tree | 251806183b14a8b643b2bfe1c934c73022c90628 /build2/cxx-modules/modtest/build | |
parent | a00f98381c708fbba986844762368be3d0e20a6f (diff) |
Update idea: C++ modules support
Add module test for Clang and VC
Diffstat (limited to 'build2/cxx-modules/modtest/build')
-rw-r--r-- | build2/cxx-modules/modtest/build/bootstrap.build | 10 | ||||
-rw-r--r-- | build2/cxx-modules/modtest/build/root.build | 16 |
2 files changed, 26 insertions, 0 deletions
diff --git a/build2/cxx-modules/modtest/build/bootstrap.build b/build2/cxx-modules/modtest/build/bootstrap.build new file mode 100644 index 0000000..0c03d81 --- /dev/null +++ b/build2/cxx-modules/modtest/build/bootstrap.build @@ -0,0 +1,10 @@ +# file : build/bootstrap.build +# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file + +project = modtest + +using build@0.4.0 + +using config +using test diff --git a/build2/cxx-modules/modtest/build/root.build b/build2/cxx-modules/modtest/build/root.build new file mode 100644 index 0000000..7c4d659 --- /dev/null +++ b/build2/cxx-modules/modtest/build/root.build @@ -0,0 +1,16 @@ +# file : build/root.build +# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file + +cxx.std = 14 + +using cxx + +hxx{*}: extension = +ixx{*}: extension = ixx +txx{*}: extension = txx +cxx{*}: extension = cxx + +# All exe{} are, well, tests. +# +exe{*}: test = true |