From 6779ea02fb07ba39d162300dd18297ba2027846a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sun, 24 Sep 2017 02:29:13 +0300 Subject: Get rid of pkgconfig module --- build2/cc/target.cxx | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'build2/cc/target.cxx') diff --git a/build2/cc/target.cxx b/build2/cc/target.cxx index 5fbf67d..6f8d541 100644 --- a/build2/cc/target.cxx +++ b/build2/cc/target.cxx @@ -49,5 +49,45 @@ namespace build2 &file_search, false }; + + const target_type pc::static_type + { + "pc", + &file::static_type, + nullptr, + nullptr, + nullptr, + nullptr, + &target_search, + false + }; + + extern const char pca_ext[] = "static.pc"; // VC14 rejects constexpr. + + const target_type pca::static_type + { + "pca", + &pc::static_type, + &file_factory, + &target_extension_fix, + &target_pattern_fix, + &target_print_0_ext_verb, // Fixed extension, no use printing. + &file_search, + false + }; + + extern const char pcs_ext[] = "shared.pc"; // VC14 rejects constexpr. + + const target_type pcs::static_type + { + "pcs", + &pc::static_type, + &file_factory, + &target_extension_fix, + &target_pattern_fix, + &target_print_0_ext_verb, // Fixed extension, no use printing. + &file_search, + false + }; } } -- cgit v1.1