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