aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-03-10 12:04:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-10 12:04:44 +0200
commit8828de9a28c34128345883d57d144786885485b4 (patch)
tree3e62533445738f40514524a44a5c992f12756229
parent6362c4e4eda8340eedc73dfdbf6b92b281ccbadd (diff)
First attempt to use wildcard patterns
-rw-r--r--build2/buildfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/build2/buildfile b/build2/buildfile
index a1c3d3d..2c3e191 100644
--- a/build2/buildfile
+++ b/build2/buildfile
@@ -4,6 +4,7 @@
import libs = libbutl%lib{butl}
+#\
exe{b}: \
{hxx ixx cxx}{ algorithm } \
{ cxx}{ b } \
@@ -94,6 +95,18 @@ test/script/{hxx cxx}{ runner } \
test/script/{hxx ixx cxx}{ script } \
test/script/{hxx cxx}{ token } \
liba{b} $libs
+#\
+
+#exe{b}: {hxx ixx txx cxx}{** -b-options -dummy} \
+# {hxx ixx cxx}{ b-options } \
+# liba{b} $libs
+
+exe{b}: hxx{** -b-options -dummy} \
+ ixx{** -b-options -dummy} \
+ txx{** -b-options -dummy} \
+ cxx{** -b-options -dummy} \
+ {hxx ixx cxx}{b-options} \
+ liba{b} $libs
# Fake utility library (without it code generation does not work).
#