]> git.tdb.fi Git - builder.git/blob - source/pkgconfig.h
Rework the Target class hierarchy
[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 "filetarget.h"
13
14 /**
15 Creates a .pc file to enable other packages fetch build options with pkg-config.
16 */
17 class PkgConfig: public FileTarget
18 {
19 public:
20         PkgConfig(Builder &, const SourcePackage &);
21         virtual const char *get_type() const { return "PkgConfig"; }
22 private:
23         virtual Action *create_action();
24 };
25
26 #endif