aboutsummaryrefslogtreecommitdiff
path: root/build/native
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-15 11:59:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-15 11:59:58 +0200
commitad720fabd468974e3909f62a0f4e4e3cf0d03aef (patch)
tree8c6b7d851e42a42118b28488a9a3def8e86cd849 /build/native
parentace1743f7f78bb13f99553d6e97ad1beecf1ba99 (diff)
Initial library support
Diffstat (limited to 'build/native')
-rw-r--r--build/native12
1 files changed, 11 insertions, 1 deletions
diff --git a/build/native b/build/native
index 6107705..88f340d 100644
--- a/build/native
+++ b/build/native
@@ -9,6 +9,16 @@
namespace build
{
+ class obj: public file
+ {
+ public:
+ using file::file;
+
+ public:
+ virtual const target_type& type () const {return static_type;}
+ static const target_type static_type;
+ };
+
class exe: public file
{
public:
@@ -19,7 +29,7 @@ namespace build
static const target_type static_type;
};
- class obj: public file
+ class lib: public file
{
public:
using file::file;