aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cli/module.hxx
blob: ba105407a5388921a3911b72d01417bb3b4c1c7a (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      : libbuild2/cli/module.hxx -*- C++ -*-
// license   : MIT; see accompanying LICENSE file

#ifndef LIBBUILD2_CLI_MODULE_HXX
#define LIBBUILD2_CLI_MODULE_HXX

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

#include <libbuild2/module.hxx>

#include <libbuild2/cli/rule.hxx>

namespace build2
{
  namespace cli
  {
    class module: public build2::module,
                  public virtual data,
                  public compile_rule
    {
    public:
      explicit
      module (data&& d)
          : data (move (d)), compile_rule (move (d)) {}
    };
  }
}

#endif // LIBBUILD2_CLI_MODULE_HXX