From 83bb02cada0b894d9134cc5489999e0f0fe8bd7c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 Jul 2019 14:55:35 +0200 Subject: Move in build system module to separate library --- tests/libbuild2/buildfile | 3 ++- tests/libbuild2/driver.cxx | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/libbuild2/buildfile b/tests/libbuild2/buildfile index 4d3a42f..51b2f5b 100644 --- a/tests/libbuild2/buildfile +++ b/tests/libbuild2/buildfile @@ -2,7 +2,8 @@ # copyright : Copyright (c) 2014-2019 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file -import libs = build2%lib{build2} +import libs = build2%lib{build2} +import libs += build2%lib{build2-in} exe{driver}: {hxx cxx}{*} $libs testscript diff --git a/tests/libbuild2/driver.cxx b/tests/libbuild2/driver.cxx index 3df2fbe..d9c086a 100644 --- a/tests/libbuild2/driver.cxx +++ b/tests/libbuild2/driver.cxx @@ -8,6 +8,8 @@ #include // sched, reset() #include +#include + using namespace build2; int @@ -17,6 +19,9 @@ main (int, char* argv[]) // init_diag (1); init (argv[0]); + + in::build2_in_load (); + sched.startup (1); // Serial execution. reset (strings ()); // No command line variables. -- cgit v1.1