aboutsummaryrefslogtreecommitdiff
path: root/build2/pkgconfig/target.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-09-24 02:29:13 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-09-25 00:30:49 +0300
commit6779ea02fb07ba39d162300dd18297ba2027846a (patch)
tree2543cfd4a4afd2113e2f298a8ede4019cc795ae1 /build2/pkgconfig/target.cxx
parent984a0217af64c734938c330b09ed21d1253dea8d (diff)
Get rid of pkgconfig module
Diffstat (limited to 'build2/pkgconfig/target.cxx')
-rw-r--r--build2/pkgconfig/target.cxx54
1 files changed, 0 insertions, 54 deletions
diff --git a/build2/pkgconfig/target.cxx b/build2/pkgconfig/target.cxx
deleted file mode 100644
index 7752f58..0000000
--- a/build2/pkgconfig/target.cxx
+++ /dev/null
@@ -1,54 +0,0 @@
-// file : build2/pkgconfig/target.cxx -*- C++ -*-
-// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
-// license : MIT; see accompanying LICENSE file
-
-#include <build2/pkgconfig/target.hxx>
-
-using namespace std;
-using namespace butl;
-
-namespace build2
-{
- namespace pkgconfig
- {
- 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<pca, pca_ext>,
- &target_extension_fix<pca_ext>,
- &target_pattern_fix<pca_ext>,
- &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<pcs, pcs_ext>,
- &target_extension_fix<pcs_ext>,
- &target_pattern_fix<pcs_ext>,
- &target_print_0_ext_verb, // Fixed extension, no use printing.
- &file_search,
- false
- };
- }
-}