aboutsummaryrefslogtreecommitdiff
path: root/tests/libbuild2
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-01 16:10:48 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-01 16:41:08 +0300
commitda9cbf29c403d27c2940f9b31199c4648f8ae4a1 (patch)
tree9732de6f48bdaead2becf32be41b1284e1e83e00 /tests/libbuild2
parent8e69e09b7ec68377758c63092f9b254e95a0d7be (diff)
Move version build system module to separate library
Diffstat (limited to 'tests/libbuild2')
-rw-r--r--tests/libbuild2/buildfile1
-rw-r--r--tests/libbuild2/driver.cxx2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/libbuild2/buildfile b/tests/libbuild2/buildfile
index 51b2f5b..aa6c17f 100644
--- a/tests/libbuild2/buildfile
+++ b/tests/libbuild2/buildfile
@@ -4,6 +4,7 @@
import libs = build2%lib{build2}
import libs += build2%lib{build2-in}
+import libs += build2%lib{build2-version}
exe{driver}: {hxx cxx}{*} $libs testscript
diff --git a/tests/libbuild2/driver.cxx b/tests/libbuild2/driver.cxx
index d9c086a..544d43e 100644
--- a/tests/libbuild2/driver.cxx
+++ b/tests/libbuild2/driver.cxx
@@ -9,6 +9,7 @@
#include <libbuild2/scheduler.hxx>
#include <libbuild2/in/init.hxx>
+#include <libbuild2/version/init.hxx>
using namespace build2;
@@ -20,6 +21,7 @@ main (int, char* argv[])
init_diag (1);
init (argv[0]);
+ version::build2_version_load ();
in::build2_in_load ();
sched.startup (1); // Serial execution.