X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=plugins%2Fbuiltin%2Fpkgconfiggenerator.h;fp=plugins%2Fbuiltin%2Fpkgconfiggenerator.h;h=2a0e0b1ecbb6de7700b5235bbae553b7ace7e651;hb=c8e829c219c65ff8e93b6c7b66212ff0876441c5;hp=0000000000000000000000000000000000000000;hpb=e2c9c3fffcc61a0c102ccf6a7924e2de709092ad;p=builder.git diff --git a/plugins/builtin/pkgconfiggenerator.h b/plugins/builtin/pkgconfiggenerator.h new file mode 100644 index 0000000..2a0e0b1 --- /dev/null +++ b/plugins/builtin/pkgconfiggenerator.h @@ -0,0 +1,20 @@ +#ifndef PKGCONFIGGENERATOR_H_ +#define PKGCONFIGGENERATOR_H_ + +#include + +class PkgConfigFile; + +class PkgConfigGenerator: public Tool +{ +public: + PkgConfigGenerator(Builder &); + + Target *create_target(const std::vector &, const std::string &) override; + +private: + static bool _run(const PkgConfigFile &); + static std::string prefixify(const Msp::FS::Path &, const Msp::FS::Path &); +}; + +#endif