diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-07-15 15:28:00 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-07-15 17:24:52 +0300 |
commit | 9ef9eafca42b882c13cc9b333cf49c5501ec385f (patch) | |
tree | 12b81412d0686d19736f443b645e9b4c31f948b1 /examples | |
parent | 97cfc23a5805c8c31bd5c6d6824b1c390318c60b (diff) |
Make use of wildcards in buildfiles
Diffstat (limited to 'examples')
-rw-r--r-- | examples/buildfile | 4 | ||||
-rw-r--r-- | examples/features/buildfile | 2 | ||||
-rw-r--r-- | examples/file/buildfile | 2 | ||||
-rw-r--r-- | examples/hello/buildfile | 2 |
4 files changed, 4 insertions, 6 deletions
diff --git a/examples/buildfile b/examples/buildfile index c64a34f..07ff2d7 100644 --- a/examples/buildfile +++ b/examples/buildfile @@ -2,6 +2,4 @@ # copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC # license : MIT; see accompanying LICENSE file -d = features/ file/ hello/ -./: $d doc{README} -include $d +./: {*/ -build/} README diff --git a/examples/features/buildfile b/examples/features/buildfile index ea8feee..c8342e8 100644 --- a/examples/features/buildfile +++ b/examples/features/buildfile @@ -2,7 +2,7 @@ # copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC # license : MIT; see accompanying LICENSE file -exe{driver}: cxx{driver} cli.cxx{options} doc{README} +exe{driver}: {hxx cxx}{* -options} cli.cxx{options} doc{README} cxx.poptions =+ "-I$out_base" diff --git a/examples/file/buildfile b/examples/file/buildfile index 7ae55df..3190cca 100644 --- a/examples/file/buildfile +++ b/examples/file/buildfile @@ -2,7 +2,7 @@ # copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC # license : MIT; see accompanying LICENSE file -exe{driver}: cxx{driver} cli.cxx{options} doc{README} file{test.ops} +exe{driver}: {hxx cxx}{* -options} cli.cxx{options} doc{README} file{test.ops} exe{driver}: test.arguments = --options-file $src_base/test.ops cxx.poptions =+ "-I$out_base" diff --git a/examples/hello/buildfile b/examples/hello/buildfile index 9991aa9..c72b525 100644 --- a/examples/hello/buildfile +++ b/examples/hello/buildfile @@ -2,7 +2,7 @@ # copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC # license : MIT; see accompanying LICENSE file -exe{driver}: cxx{driver} cli.cxx{hello} doc{README} +exe{driver}: {hxx cxx}{* -hello} cli.cxx{hello} doc{README} exe{driver}: test.arguments = --greeting Hi John Jane cxx.poptions =+ "-I$out_base" |