aboutsummaryrefslogtreecommitdiff
path: root/build/cxx/compile
blob: 1cc91ab2aae620f8572b90d2248d6ff96bb5ad99 (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      : build/cxx/compile -*- C++ -*-
// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

#ifndef BUILD_CXX_COMPILE
#define BUILD_CXX_COMPILE

#include <build/types>
#include <build/rule>

namespace build
{
  namespace cxx
  {
    class compile: public rule
    {
    public:
      virtual match_result
      match (action, target&, const std::string& hint) const;

      virtual recipe
      apply (action, target&, const match_result&) const;

      static target_state
      perform_update (action, target&);
    };
  }
}

#endif // BUILD_CXX_COMPILE