aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-11-17 13:33:57 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-11-17 13:33:57 +0300
commitf6727cf97685fc2b200aa1b0baae35fb84468300 (patch)
treee088005649a07c3da82413b08b6793f55b85865d
parent132522ca4c895e9b07d7e323d5529474806e5829 (diff)
Fix examples buildfiles adding some files for the distribution
-rw-r--r--examples/build/bootstrap.build4
-rw-r--r--examples/build/root.build6
-rw-r--r--examples/buildfile6
-rw-r--r--examples/hybrid/buildfile6
-rw-r--r--examples/inheritance/buildfile6
-rw-r--r--examples/performance/buildfile6
-rw-r--r--examples/persistence/buildfile6
-rw-r--r--examples/processing/buildfile6
-rw-r--r--examples/roundtrip/buildfile6
-rw-r--r--examples/xhtml/buildfile6
-rw-r--r--tests/build/bootstrap.build4
-rw-r--r--tests/build/root.build4
-rw-r--r--tests/buildfile4
-rw-r--r--tests/parser/buildfile4
-rw-r--r--tests/roundtrip/buildfile4
-rw-r--r--tests/serializer/buildfile4
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