]> git.tdb.fi Git - builder.git/blob - source/pkgconfiggenerator.h
Redesign how tools are run
[builder.git] / source / pkgconfiggenerator.h
1 #ifndef PKGCONFIGGENERATOR_H_
2 #define PKGCONFIGGENERATOR_H_
3
4 #include "tool.h"
5
6 class PkgConfigFile;
7
8 class PkgConfigGenerator: public Tool
9 {
10 public:
11         PkgConfigGenerator(Builder &);
12
13         Target *create_target(const std::vector<Target *> &, const std::string &) override;
14
15 private:
16         static bool _run(const PkgConfigFile &);
17         static std::string prefixify(const Msp::FS::Path &, const Msp::FS::Path &);
18 };
19
20 #endif