diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-06-12 11:56:18 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-06-12 11:56:18 +0200 |
commit | 08f36d41ea69ca331715ac8d70b0bf8fd849f401 (patch) | |
tree | b377f5459fdcdcbf9e8980394386b1305b7dd516 /build2/bin/target.hxx | |
parent | e50b11ceb81089fc32eac7614b66daef7119f620 (diff) |
Add built-in support for Windows module definition files (.def)
Diffstat (limited to 'build2/bin/target.hxx')
-rw-r--r-- | build2/bin/target.hxx | 12 |
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;} + }; } } |