From f6727cf97685fc2b200aa1b0baae35fb84468300 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 17 Nov 2016 13:33:57 +0300 Subject: Fix examples buildfiles adding some files for the distribution --- examples/build/bootstrap.build | 4 ++++ examples/build/root.build | 6 +++++- examples/buildfile | 6 +++++- examples/hybrid/buildfile | 6 +++++- examples/inheritance/buildfile | 6 +++++- examples/performance/buildfile | 6 +++++- examples/persistence/buildfile | 6 +++++- examples/processing/buildfile | 6 +++++- examples/roundtrip/buildfile | 6 +++++- examples/xhtml/buildfile | 6 +++++- tests/build/bootstrap.build | 4 ++++ tests/build/root.build | 4 ++++ tests/buildfile | 4 ++++ tests/parser/buildfile | 4 ++++ tests/roundtrip/buildfile | 4 ++++ tests/serializer/buildfile | 4 ++++ 16 files changed, 73 insertions(+), 9 deletions(-) diff --git a/examples/build/bootstrap.build b/examples/build/bootstrap.build index 2c2de24..d3810f7 100644 --- a/examples/build/bootstrap.build +++ b/examples/build/bootstrap.build @@ -1,3 +1,7 @@ +# file : examples/build/bootstrap.build +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + project = # Unnamed subproject. using config diff --git a/examples/build/root.build b/examples/build/root.build index 1f7c350..17504a3 100644 --- a/examples/build/root.build +++ b/examples/build/root.build @@ -1,8 +1,12 @@ +# file : examples/build/root.build +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + cxx.std = 11 using cxx -hxx{*}: extension = +hxx{*}: extension = hxx cxx{*}: extension = cxx # Every exe{} in this subproject is by default a test. diff --git a/examples/buildfile b/examples/buildfile index b089d1b..914c917 100644 --- a/examples/buildfile +++ b/examples/buildfile @@ -1,5 +1,9 @@ +# file : examples/buildfile +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + d = hybrid/ inheritance/ performance/ persistence/ processing/ roundtrip/ \ xhtml/ -./: $d +./: $d doc{README} include $d diff --git a/examples/hybrid/buildfile b/examples/hybrid/buildfile index 44709de..81cb6d8 100644 --- a/examples/hybrid/buildfile +++ b/examples/hybrid/buildfile @@ -1,4 +1,8 @@ +# file : examples/hybrid/buildfile +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + import libs = libstudxml%lib{studxml} -exe{driver}: cxx{dom driver} $libs +exe{driver}: {cxx hxx}{dom} cxx{driver} $libs doc{README} exe{driver}: test.input = position.xml diff --git a/examples/inheritance/buildfile b/examples/inheritance/buildfile index a0f2d9c..eb3edf3 100644 --- a/examples/inheritance/buildfile +++ b/examples/inheritance/buildfile @@ -1,4 +1,8 @@ +# file : examples/inheritance/buildfile +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + import libs = libstudxml%lib{studxml} -exe{driver}: cxx{driver position} $libs +exe{driver}: cxx{driver} {cxx hxx}{position} $libs doc{README} exe{driver}: test.input = position.xml diff --git a/examples/performance/buildfile b/examples/performance/buildfile index e4a33b3..5420e48 100644 --- a/examples/performance/buildfile +++ b/examples/performance/buildfile @@ -1,4 +1,8 @@ +# file : examples/performance/buildfile +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + import libs = libstudxml%lib{studxml} -exe{driver}: cxx{driver time} $libs +exe{driver}: cxx{driver} {cxx hxx}{time} $libs doc{README} file{test.xsd} exe{driver}: test.input = test-50k.xml diff --git a/examples/persistence/buildfile b/examples/persistence/buildfile index a0f2d9c..dff64dc 100644 --- a/examples/persistence/buildfile +++ b/examples/persistence/buildfile @@ -1,4 +1,8 @@ +# file : examples/persistence/buildfile +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + import libs = libstudxml%lib{studxml} -exe{driver}: cxx{driver position} $libs +exe{driver}: cxx{driver} {cxx hxx}{position} $libs doc{README} exe{driver}: test.input = position.xml diff --git a/examples/processing/buildfile b/examples/processing/buildfile index 138992c..0282ad4 100644 --- a/examples/processing/buildfile +++ b/examples/processing/buildfile @@ -1,4 +1,8 @@ +# file : examples/processing/buildfile +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + import libs = libstudxml%lib{studxml} -exe{driver}: cxx{driver} $libs +exe{driver}: cxx{driver} $libs doc{README} exe{driver}: test.input = position.xml diff --git a/examples/roundtrip/buildfile b/examples/roundtrip/buildfile index 138992c..07672e2 100644 --- a/examples/roundtrip/buildfile +++ b/examples/roundtrip/buildfile @@ -1,4 +1,8 @@ +# file : examples/roundtrip/buildfile +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + import libs = libstudxml%lib{studxml} -exe{driver}: cxx{driver} $libs +exe{driver}: cxx{driver} $libs doc{README} exe{driver}: test.input = position.xml diff --git a/examples/xhtml/buildfile b/examples/xhtml/buildfile index 3f8cb7d..871836f 100644 --- a/examples/xhtml/buildfile +++ b/examples/xhtml/buildfile @@ -1,3 +1,7 @@ +# file : examples/xhtml/buildfile +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + import libs = libstudxml%lib{studxml} -exe{driver}: cxx{driver} $libs +exe{driver}: cxx{driver} $libs doc{README} diff --git a/tests/build/bootstrap.build b/tests/build/bootstrap.build index 2c2de24..d3810f7 100644 --- a/tests/build/bootstrap.build +++ b/tests/build/bootstrap.build @@ -1,3 +1,7 @@ +# file : examples/build/bootstrap.build +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + project = # Unnamed subproject. using config diff --git a/tests/build/root.build b/tests/build/root.build index 1f7c350..8c791ff 100644 --- a/tests/build/root.build +++ b/tests/build/root.build @@ -1,3 +1,7 @@ +# file : examples/build/root.build +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + cxx.std = 11 using cxx diff --git a/tests/buildfile b/tests/buildfile index 2058084..af03a38 100644 --- a/tests/buildfile +++ b/tests/buildfile @@ -1,3 +1,7 @@ +# file : tests/buildfile +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + d = parser/ roundtrip/ serializer/ ./: $d include $d diff --git a/tests/parser/buildfile b/tests/parser/buildfile index 3f8cb7d..0ae965b 100644 --- a/tests/parser/buildfile +++ b/tests/parser/buildfile @@ -1,3 +1,7 @@ +# file : tests/parser/buildfile +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + import libs = libstudxml%lib{studxml} exe{driver}: cxx{driver} $libs diff --git a/tests/roundtrip/buildfile b/tests/roundtrip/buildfile index 9dd9858..c01be4b 100644 --- a/tests/roundtrip/buildfile +++ b/tests/roundtrip/buildfile @@ -1,3 +1,7 @@ +# file : tests/roundtrip/buildfile +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + # @@ Hack until build2 supports multiple tests. Also remove .gitignore. # ./: exe{attr-driver} exe{char-driver} exe{fup1-driver} exe{fup2-driver} \ diff --git a/tests/serializer/buildfile b/tests/serializer/buildfile index 3f8cb7d..c36c155 100644 --- a/tests/serializer/buildfile +++ b/tests/serializer/buildfile @@ -1,3 +1,7 @@ +# file : tests/serializer/buildfile +# copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + import libs = libstudxml%lib{studxml} exe{driver}: cxx{driver} $libs -- cgit v1.1