From 297bc80eab5128e1cde7cd597368109a033b6cc0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 28 Sep 2016 18:03:28 +0200 Subject: Update idea: C++ modules support Add module test for Clang and VC --- build2/cxx-modules/modtest/build/root.build | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 build2/cxx-modules/modtest/build/root.build (limited to 'build2/cxx-modules/modtest/build/root.build') 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 -- cgit v1.1