diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-09-24 02:29:13 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-09-25 00:30:49 +0300 |
commit | 6779ea02fb07ba39d162300dd18297ba2027846a (patch) | |
tree | 2543cfd4a4afd2113e2f298a8ede4019cc795ae1 /build2/cc/target.hxx | |
parent | 984a0217af64c734938c330b09ed21d1253dea8d (diff) |
Get rid of pkgconfig module
Diffstat (limited to 'build2/cc/target.hxx')
-rw-r--r-- | build2/cc/target.hxx | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/build2/cc/target.hxx b/build2/cc/target.hxx index 4c9e4cb..a7fb7d4 100644 --- a/build2/cc/target.hxx +++ b/build2/cc/target.hxx @@ -57,6 +57,37 @@ namespace build2 static const target_type static_type; virtual const target_type& dynamic_type () const {return static_type;} }; + + // pkg-config file targets. + // + class pc: public file + { + public: + using file::file; + + public: + static const target_type static_type; + }; + + class pca: public pc // .static.pc + { + public: + using pc::pc; + + public: + static const target_type static_type; + virtual const target_type& dynamic_type () const {return static_type;} + }; + + class pcs: public pc // .shared.pc + { + public: + using pc::pc; + + public: + static const target_type static_type; + virtual const target_type& dynamic_type () const {return static_type;} + }; } } |