diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/export.build | 15 | ||||
-rw-r--r-- | build/root.build | 3 |
2 files changed, 16 insertions, 2 deletions
diff --git a/build/export.build b/build/export.build new file mode 100644 index 0000000..8cd1646 --- /dev/null +++ b/build/export.build @@ -0,0 +1,15 @@ +# file : build/export.build +# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +# license : TBC; see accompanying LICENSE file + +$out_root/: +{ + include bbot/ +} + +if ($import.target == exe{bbot-agent}) + export $out_root/bbot/exe{bbot-agent} +elif ($import.target == exe{bbot-worker}) + export $out_root/bbot/exe{bbot-worker} +else + assert false unknown target $import.target diff --git a/build/root.build b/build/root.build index 4661de1..f63ff10 100644 --- a/build/root.build +++ b/build/root.build @@ -21,9 +21,8 @@ cxx.poptions =+ "-I$out_root" "-I$src_root" # using? cli -# All exe{} in tests/ and unit-tests/ are, well, tests. +# All exe{} in unit-tests/ are, well, tests. # -tests/exe{*}: test = true unit-tests/exe{*}: test = true # Specify the test target for cross-testing. |