aboutsummaryrefslogtreecommitdiff
path: root/build2/bin/target.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-06-12 11:56:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-06-12 11:56:18 +0200
commit08f36d41ea69ca331715ac8d70b0bf8fd849f401 (patch)
treeb377f5459fdcdcbf9e8980394386b1305b7dd516 /build2/bin/target.hxx
parente50b11ceb81089fc32eac7614b66daef7119f620 (diff)
Add built-in support for Windows module definition files (.def)
Diffstat (limited to 'build2/bin/target.hxx')
-rw-r--r--build2/bin/target.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/build2/bin/target.hxx b/build2/bin/target.hxx
index 32ef0fb..f0b427f 100644
--- a/build2/bin/target.hxx
+++ b/build2/bin/target.hxx
@@ -264,6 +264,18 @@ namespace build2
static const target_type static_type;
virtual const target_type& dynamic_type () const {return static_type;}
};
+
+ // Windows module definition (.def).
+ //
+ class def: public file
+ {
+ public:
+ using file::file;
+
+ public:
+ static const target_type static_type;
+ virtual const target_type& dynamic_type () const {return static_type;}
+ };
}
}