]> git.tdb.fi Git - builder.git/blob - source/pkgconfig.h
f88e248cb4b5d3327a55a1d825383bf07eb7b83e
[builder.git] / source / pkgconfig.h
1 /* $Id$
2
3 This file is part of builder
4 Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef PKGCONFIG_H_
9 #define PKGCONFIG_H_
10
11 #include "sourcepackage.h"
12 #include "target.h"
13
14 /**
15 Creates a .pc file to enable other packages fetch build options with pkg-config.
16 */
17 class PkgConfig: public Target
18 {
19 public:
20         PkgConfig(Builder &, const SourcePackage &);
21         const char *get_type() const { return "PkgConfig"; }
22         Action     *build();
23 private:
24         const Package &pkg;
25 };
26
27 #endif