From 4bdf53837e010073de802070d4e6087410662d3e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 24 Aug 2019 17:41:30 +0300 Subject: Move cc build system module to separate library --- tests/libbuild2/buildfile | 2 +- tests/libbuild2/driver.cxx | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/libbuild2') diff --git a/tests/libbuild2/buildfile b/tests/libbuild2/buildfile index beb82b2..1a2d594 100644 --- a/tests/libbuild2/buildfile +++ b/tests/libbuild2/buildfile @@ -4,7 +4,7 @@ import libs = build2%lib{build2} -for m: bash bin in version +for m: bash bin 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 93c145a..679b0a4 100644 --- a/tests/libbuild2/driver.cxx +++ b/tests/libbuild2/driver.cxx @@ -10,6 +10,7 @@ #include #include +#include #include #include @@ -23,10 +24,11 @@ main (int, char* argv[]) init_diag (1); init (nullptr, argv[0]); - bash::build2_bash_load (); bin::build2_bin_load (); - in::build2_in_load (); + cc::build2_cc_load (); version::build2_version_load (); + in::build2_in_load (); + bash::build2_bash_load (); scheduler sched (1); // Serial execution. context ctx (sched); -- cgit v1.1