summaryrefslogtreecommitdiffstats
path: root/bdep/build.hxx
blob: 5eba22363ba8c8b27fafe78a0eeee0d24396289f (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-2018 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