aboutsummaryrefslogtreecommitdiff
path: root/tests/libbuild2/driver.cxx
blob: 3df2fbe0f6ed1a5b50cae0607492544ec328f89c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// file      : tests/libbuild2/driver.cxx -*- C++ -*-
// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

#include <libbuild2/types.hxx>
#include <libbuild2/utility.hxx>

#include <libbuild2/context.hxx>   // sched, reset()
#include <libbuild2/scheduler.hxx>

using namespace build2;

int
main (int, char* argv[])
{
  // Fake build system driver, default verbosity.
  //
  init_diag (1);
  init (argv[0]);
  sched.startup (1);  // Serial execution.
  reset (strings ()); // No command line variables.

  return 0;
}