summaryrefslogtreecommitdiffstats
path: root/bdep/build.hxx
blob: eea8f36529c3ef76f35ee6fdc112fa8d3b1fe754 (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
// file      : bdep/build.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

#ifndef BDEP_BUILD_HXX
#define BDEP_BUILD_HXX

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

namespace bdep
{
  // Common "build system command" (update, clean, test) implementation.
  //
  template <typename O>
  int
  cmd_build (const O& o,
             void (*build) (const O&,
                            const shared_ptr<configuration>&,
                            const cstrings&,
                            const strings&),
             cli::scanner& args);
}

#include <bdep/build.txx>

#endif // BDEP_BUILD_HXX