aboutsummaryrefslogtreecommitdiff
path: root/build2/cxx/install
blob: cfec3daf2c446f721e73ae1d2fd5a864632cee03 (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
// file      : build2/cxx/install -*- C++ -*-
// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

#ifndef BUILD2_CXX_INSTALL
#define BUILD2_CXX_INSTALL

#include <build2/types>
#include <build2/install/rule>

namespace build2
{
  namespace cxx
  {
    class install: public build2::install::file_rule
    {
    public:
      virtual target*
      filter (action, target&, prerequisite_member) const;

      virtual match_result
      match (action, target&, const std::string&) const;

      static install instance;
    };
  }
}

#endif // BUILD2_CXX_INSTALL