]> git.tdb.fi Git - builder.git/blob - source/pkgconfig.h
2ddcce8e1356c73c25681a0f3a7dfda48d5111ef
[builder.git] / source / pkgconfig.h
1 #ifndef PKGCONFIG_H_
2 #define PKGCONFIG_H_
3
4 #include "target.h"
5
6 /**
7 Creates a .pc file to enable other packages fetch build options with pkg-config.
8 */
9 class PkgConfig: public Target
10 {
11 public:
12         PkgConfig(Builder &, const Package &);
13         const char *get_type() const { return "PkgConfig"; }
14         Action     *build();
15 private:
16         const Package &pkg;
17 };
18
19 #endif