From 9693eae0d4fddb148bd5fd663a7a2e802d3e4666 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 28 Jul 2017 14:32:38 +0200 Subject: Use utility library to arrange unit testing --- build/root.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build') diff --git a/build/root.build b/build/root.build index 85f69a1..0d887ec 100644 --- a/build/root.build +++ b/build/root.build @@ -11,8 +11,6 @@ ixx{*}: extension = ixx txx{*}: extension = txx cxx{*}: extension = cxx -cxx.poptions =+ "-I$out_root" "-I$src_root" - # Load the cli module but only if it's available. This way a distribution # that includes pre-generated files can be built without installing cli. # This is also the reason why we need to explicitly spell out individual @@ -21,9 +19,11 @@ cxx.poptions =+ "-I$out_root" "-I$src_root" # using? cli -# All exe{} in unit-tests/ are, well, tests. +# All exe{} in unit-tests/ are, well, tests. Also don't link whole archives +# by default there. # unit-tests/exe{*}: test = true +unit-tests/libu{*}: bin.whole = false # Specify the test target for cross-testing. # -- cgit v1.1