aboutsummaryrefslogtreecommitdiff
path: root/build2/bash/target.cxx
blob: 8a4bd9e0bd74eea7feb519fbb5c3a68d87528696 (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
// file      : build2/bash/target.cxx -*- C++ -*-
// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

#include <build2/bash/target.hxx>

#include <build2/context.hxx>

using namespace std;

namespace build2
{
  namespace bash
  {
    extern const char bash_ext_def[] = "bash";

    const target_type bash::static_type
    {
      "bash",
      &file::static_type,
      &target_factory<bash>,
      nullptr, /* fixed_extension */
      &target_extension_var<var_extension, bash_ext_def>,
      &target_pattern_var<var_extension, bash_ext_def>,
      nullptr,
      &file_search,
      false
    };
  }
}