aboutsummaryrefslogtreecommitdiff
path: root/build/native
diff options
context:
space:
mode:
Diffstat (limited to 'build/native')
-rw-r--r--build/native29
1 files changed, 28 insertions, 1 deletions
diff --git a/build/native b/build/native
index 88f340d..3c1e6f2 100644
--- a/build/native
+++ b/build/native
@@ -9,7 +9,9 @@
namespace build
{
- class obj: public file
+ // The obj{} target group members.
+ //
+ class obja: public file
{
public:
using file::file;
@@ -19,6 +21,31 @@ namespace build
static const target_type static_type;
};
+ class objso: public file
+ {
+ public:
+ using file::file;
+
+ public:
+ virtual const target_type& type () const {return static_type;}
+ static const target_type static_type;
+ };
+
+ // Target group.
+ //
+ class obj: public target
+ {
+ public:
+ using target::target;
+
+ obja* a {nullptr};
+ objso* so {nullptr};
+
+ public:
+ virtual const target_type& type () const {return static_type;}
+ static const target_type static_type;
+ };
+
class exe: public file
{
public: