aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-12 20:30:34 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-14 16:38:38 +0300
commitd4e8e70325b94509575e6722595fe5ed752c9013 (patch)
tree27a1c75d544b9a06be4b1d73abc2fece771d1301 /examples
parentbc00b696dbe914b60199039ed56c96d5072bbfba (diff)
Make use of wildcards in buildfiles
Diffstat (limited to 'examples')
-rw-r--r--examples/buildfile4
-rw-r--r--examples/hybrid/buildfile2
-rw-r--r--examples/inheritance/buildfile2
-rw-r--r--examples/performance/buildfile2
-rw-r--r--examples/persistence/buildfile2
-rw-r--r--examples/processing/buildfile2
-rw-r--r--examples/roundtrip/buildfile2
-rw-r--r--examples/xhtml/buildfile2
8 files changed, 8 insertions, 10 deletions
diff --git a/examples/buildfile b/examples/buildfile
index b14235a..c5e408c 100644
--- a/examples/buildfile
+++ b/examples/buildfile
@@ -2,6 +2,4 @@
# copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
# license : MIT; see accompanying LICENSE file
-./: hybrid/ inheritance/ performance/ persistence/ processing/ roundtrip/ \
- xhtml/ doc{README}
-
+./: {*/ -build/} doc{README}
diff --git a/examples/hybrid/buildfile b/examples/hybrid/buildfile
index 67a80af..e574bfa 100644
--- a/examples/hybrid/buildfile
+++ b/examples/hybrid/buildfile
@@ -4,5 +4,5 @@
import libs = libstudxml%lib{studxml}
-exe{driver}: {cxx hxx}{dom} cxx{driver} $libs doc{README}
+exe{driver}: {hxx cxx}{*} $libs doc{README}
exe{driver}: test.input = position.xml
diff --git a/examples/inheritance/buildfile b/examples/inheritance/buildfile
index e59c1c2..9a6c17e 100644
--- a/examples/inheritance/buildfile
+++ b/examples/inheritance/buildfile
@@ -4,5 +4,5 @@
import libs = libstudxml%lib{studxml}
-exe{driver}: cxx{driver} {cxx hxx}{position} $libs doc{README}
+exe{driver}: {hxx cxx}{*} $libs doc{README}
exe{driver}: test.input = position.xml
diff --git a/examples/performance/buildfile b/examples/performance/buildfile
index e95af75..ec194d2 100644
--- a/examples/performance/buildfile
+++ b/examples/performance/buildfile
@@ -4,5 +4,5 @@
import libs = libstudxml%lib{studxml}
-exe{driver}: cxx{driver} {cxx hxx}{time} $libs doc{README} file{test.xsd}
+exe{driver}: {hxx cxx}{* -expat -gen} $libs doc{README} file{*.xsd}
exe{driver}: test.input = test-50k.xml
diff --git a/examples/persistence/buildfile b/examples/persistence/buildfile
index 61facb9..7899768 100644
--- a/examples/persistence/buildfile
+++ b/examples/persistence/buildfile
@@ -4,5 +4,5 @@
import libs = libstudxml%lib{studxml}
-exe{driver}: cxx{driver} {cxx hxx}{position} $libs doc{README}
+exe{driver}: {hxx cxx}{*} $libs doc{README}
exe{driver}: test.input = position.xml
diff --git a/examples/processing/buildfile b/examples/processing/buildfile
index a69d810..a0cdbdc 100644
--- a/examples/processing/buildfile
+++ b/examples/processing/buildfile
@@ -4,5 +4,5 @@
import libs = libstudxml%lib{studxml}
-exe{driver}: cxx{driver} $libs doc{README}
+exe{driver}: {hxx cxx}{*} $libs doc{README}
exe{driver}: test.input = position.xml
diff --git a/examples/roundtrip/buildfile b/examples/roundtrip/buildfile
index 7a95b2c..f401cc9 100644
--- a/examples/roundtrip/buildfile
+++ b/examples/roundtrip/buildfile
@@ -4,5 +4,5 @@
import libs = libstudxml%lib{studxml}
-exe{driver}: cxx{driver} $libs doc{README}
+exe{driver}: {hxx cxx}{*} $libs doc{README}
exe{driver}: test.input = position.xml
diff --git a/examples/xhtml/buildfile b/examples/xhtml/buildfile
index 28b7cf4..670c0f9 100644
--- a/examples/xhtml/buildfile
+++ b/examples/xhtml/buildfile
@@ -4,4 +4,4 @@
import libs = libstudxml%lib{studxml}
-exe{driver}: cxx{driver} $libs doc{README}
+exe{driver}: {hxx cxx}{*} $libs doc{README}