aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-11-07 12:43:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-11-07 12:43:35 +0200
commit0a375145da44c64b063961369492d5bcb0d37671 (patch)
tree5ccee3c9879c3b115a6a54f19c50e85df6af1434 /build/root.build
parentbbc87d7d08244f85343d86fb8a126185c566fe95 (diff)
Load c.config module for tests
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build
index b8e3460..fe312c1 100644
--- a/build/root.build
+++ b/build/root.build
@@ -19,6 +19,11 @@ if ($cxx.class == 'msvc')
cxx.poptions =+ "-I$out_root" "-I$src_root"
+# While we don't have any C sources to compile, we need to get the C compiler
+# path to use in tests.
+#
+using c.config
+
# 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