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 +++++- 10 files changed, 49 insertions(+), 9 deletions(-) (limited to 'examples') 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} -- cgit v1.1