blob: cfef0c49d18a61deb43d007c1c1eff737a71b0b8 (
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
|
// file : build2/cxx/compile -*- C++ -*-
// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
#ifndef BUILD2_CXX_COMPILE
#define BUILD2_CXX_COMPILE
#include <build2/types>
#include <build2/rule>
namespace build2
{
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&);
static compile instance;
};
}
}
#endif // BUILD2_CXX_COMPILE
|