diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-03-06 19:38:27 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-03-08 15:39:11 +0300 |
commit | 0a0b0cce022bdc7b908144c9e9a33a96e78dbcdf (patch) | |
tree | 70ba69374cfabb999b5a426b945832f747db9b91 | |
parent | 9b20eba898be7c26d240fbaf51993cf63e3218e4 (diff) |
Configure c module in tests project rather than in top project
-rw-r--r-- | build/root.build | 5 | ||||
-rw-r--r-- | 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. |