]> git.tdb.fi Git - builder.git/blob - source/pkgconfig.h
Reorder class members
[builder.git] / source / pkgconfig.h
1 /* $Id$
2
3 This file is part of builder
4 Copyright © 2006-2009  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 private:
20         const Package &pkg;
21
22 public:
23         PkgConfig(Builder &, const SourcePackage &);
24         virtual const char *get_type() const { return "PkgConfig"; }
25 private:
26         virtual Action *create_action();
27 };
28
29 #endif