From 0a0b0cce022bdc7b908144c9e9a33a96e78dbcdf Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 6 Mar 2019 19:38:27 +0300 Subject: Configure c module in tests project rather than in top project --- build/root.build | 5 ----- tests/build/root.build | 5 +++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/build/root.build b/build/root.build index 734fcbd..b21eecd 100644 --- a/build/root.build +++ b/build/root.build @@ -19,11 +19,6 @@ if ($cxx.class == 'msvc') cxx.poptions =+ "-I$out_root" "-I$src_root" -# While we don't have any C sources to compile we do run C tests (bdep-new) -# which need the path to the C compiler. -# -using c - # 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 diff --git a/tests/build/root.build b/tests/build/root.build index b725dbc..f2694b7 100644 --- a/tests/build/root.build +++ b/tests/build/root.build @@ -2,9 +2,10 @@ # copyright : Copyright (c) 2014-2019 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file -# We need to configure C++ module to pass the compiler path to some of bdep -# test commands. +# We need to configure C/C++ modules to pass the compiler paths to some of +# bdep test commands. # +using c using cxx # Setup the bdep that we are testing. -- cgit v1.1