aboutsummaryrefslogtreecommitdiff
path: root/build2/pkgconfig/init
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-26 16:37:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-26 16:37:16 +0200
commitf0edc0e2b67fa43c4e2410c7d3d8f1841d576749 (patch)
tree25ca1dd8c20649a1a9a35355670a1f5c8b99695c /build2/pkgconfig/init
parente347540d400c552917ca7067c4571f1028f6e1af (diff)
Add pkg-config support for import installed
Redesign library importing/exporting while at it.
Diffstat (limited to 'build2/pkgconfig/init')
-rw-r--r--build2/pkgconfig/init37
1 files changed, 37 insertions, 0 deletions
diff --git a/build2/pkgconfig/init b/build2/pkgconfig/init
new file mode 100644
index 0000000..53821ae
--- /dev/null
+++ b/build2/pkgconfig/init
@@ -0,0 +1,37 @@
+// file : build2/pkgconfig/init -*- C++ -*-
+// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef BUILD2_PKGCONFIG_INIT
+#define BUILD2_PKGCONFIG_INIT
+
+#include <build2/types>
+#include <build2/utility>
+
+#include <build2/module>
+
+namespace build2
+{
+ namespace pkgconfig
+ {
+ bool
+ config_init (scope&,
+ scope&,
+ const location&,
+ unique_ptr<module_base>&,
+ bool,
+ bool,
+ const variable_map&);
+
+ bool
+ init (scope&,
+ scope&,
+ const location&,
+ unique_ptr<module_base>&,
+ bool,
+ bool,
+ const variable_map&);
+ }
+}
+
+#endif // BUILD2_PKGCONFIG_INIT