aboutsummaryrefslogtreecommitdiff
path: root/tests/libbuild2
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-24 22:10:09 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-28 15:01:48 +0300
commitf7adb1ce7a13753a6acf5c9eeb9577ecdada630c (patch)
tree5bd0bb1488c0a6fb35788ea815cbd7533a0de72a /tests/libbuild2
parent4bdf53837e010073de802070d4e6087410662d3e (diff)
Move c build system module to separate library
Diffstat (limited to 'tests/libbuild2')
-rw-r--r--tests/libbuild2/buildfile2
-rw-r--r--tests/libbuild2/driver.cxx2
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/libbuild2/buildfile b/tests/libbuild2/buildfile
index 1a2d594..1d7faf7 100644
--- a/tests/libbuild2/buildfile
+++ b/tests/libbuild2/buildfile
@@ -4,7 +4,7 @@
import libs = build2%lib{build2}
-for m: bash bin cc in version
+for m: bash bin c cc in version
import libs += build2%lib{build2-$m}
exe{driver}: {hxx cxx}{*} $libs testscript
diff --git a/tests/libbuild2/driver.cxx b/tests/libbuild2/driver.cxx
index 679b0a4..e17cdc5 100644
--- a/tests/libbuild2/driver.cxx
+++ b/tests/libbuild2/driver.cxx
@@ -10,6 +10,7 @@
#include <libbuild2/in/init.hxx>
#include <libbuild2/bin/init.hxx>
+#include <libbuild2/c/init.hxx>
#include <libbuild2/cc/init.hxx>
#include <libbuild2/bash/init.hxx>
#include <libbuild2/version/init.hxx>
@@ -26,6 +27,7 @@ main (int, char* argv[])
bin::build2_bin_load ();
cc::build2_cc_load ();
+ c::build2_c_load ();
version::build2_version_load ();
in::build2_in_load ();
bash::build2_bash_load ();