aboutsummaryrefslogtreecommitdiff
path: root/build/cxx/rule
diff options
context:
space:
mode:
Diffstat (limited to 'build/cxx/rule')
-rw-r--r--build/cxx/rule7
1 files changed, 4 insertions, 3 deletions
diff --git a/build/cxx/rule b/build/cxx/rule
index 24879d4..d139cc7 100644
--- a/build/cxx/rule
+++ b/build/cxx/rule
@@ -6,9 +6,6 @@
#define BUILD_CXX_RULE
#include <build/rule>
-#include <build/native>
-
-#include <build/cxx/target>
namespace build
{
@@ -16,6 +13,8 @@ namespace build
namespace cxx
{
+ class cxx;
+
// @@ Can't we do match(obj&) and then registration code extracts
// that. And no virtuals?
//
@@ -39,6 +38,8 @@ namespace build
class link: public rule
{
public:
+ enum class type {exe, liba, libso};
+
virtual void*
match (action, target&, const std::string& hint) const;