diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-24 12:29:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-24 12:29:20 +0200 |
commit | 2a0f9e035f673f1ee387924501a31990de37f18d (patch) | |
tree | b8e55ab74bc88b788e99d8649219b931b80432d5 /build/native | |
parent | 4c44c914d898af53152addad5530504548175e85 (diff) |
Implement lib/liba/libso{} target group, shared/static library build
Diffstat (limited to 'build/native')
-rw-r--r-- | build/native | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/build/native b/build/native deleted file mode 100644 index 3c1e6f2..0000000 --- a/build/native +++ /dev/null @@ -1,70 +0,0 @@ -// file : build/native -*- C++ -*- -// copyright : Copyright (c) 2014-2015 Code Synthesis Tools CC -// license : MIT; see accompanying LICENSE file - -#ifndef BUILD_NATIVE -#define BUILD_NATIVE - -#include <build/target> - -namespace build -{ - // The obj{} target group members. - // - class obja: public file - { - public: - using file::file; - - public: - virtual const target_type& type () const {return static_type;} - 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: - using file::file; - - public: - virtual const target_type& type () const {return static_type;} - static const target_type static_type; - }; - - class lib: public file - { - public: - using file::file; - - public: - virtual const target_type& type () const {return static_type;} - static const target_type static_type; - }; -} - -#endif // BUILD_NATIVE |