From 8e8d599b129d35f638f2c1957c869b054a38b021 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 13 Jul 2017 22:19:18 +0300 Subject: Make tests to be a sub-project --- build/export.build | 15 +++++++++++++++ build/root.build | 3 +-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 build/export.build (limited to 'build') 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. -- cgit v1.1