blob: 5a8f6641327c337ca3b196697e62236def994f1c (
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
36
|
// file : bdep/ci-parsers.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
// CLI parsers, included into the generated source files.
//
#ifndef BDEP_CI_PARSERS_HXX
#define BDEP_CI_PARSERS_HXX
#include <bdep/ci-types.hxx>
namespace bdep
{
namespace cli
{
class scanner;
template <typename T>
struct parser;
// Accumulate package manifest override values from all the override-
// related options (--override, --overrides-file, etc), preserving their
// order. Translate each option into one or more values according to the
// option-specific semantics.
//
template <>
struct parser<ci_override>
{
static void
parse (ci_override&, bool&, scanner&);
};
}
}
#endif // BDEP_CI_PARSERS_HXX
|