blob: 1ebbf85c0866a3c4b6904414ab6a7ecedce55313 (
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
25
26
27
28
29
30
31
32
33
34
35
|
// file : bpkg/bpkg.hxx -*- C++ -*-
// license : MIT; see accompanying LICENSE file
#ifndef BPKG_BPKG_HXX
#define BPKG_BPKG_HXX
// Embedded build system driver.
//
#include <libbuild2/context.hxx>
#include <libbuild2/scheduler.hxx>
#include <libbuild2/file-cache.hxx>
#include <bpkg/types.hxx>
#include <bpkg/utility.hxx>
#include <bpkg/common-options.hxx>
namespace bpkg
{
// These are initialized by build2_init().
//
extern strings build2_cmd_vars;
extern build2::scheduler build2_sched;
extern build2::global_mutexes build2_mutexes;
extern build2::file_cache build2_fcache;
// Use build2_sched.started() to check if already initialized. Note that the
// scheduler is pre-tuned for serial execution.
//
//
void
build2_init (const common_options&);
}
#endif // BPKG_BPKG_HXX
|