#ifndef PKGCONFIGGENERATOR_H_
#define PKGCONFIGGENERATOR_H_
-#include "internaltask.h"
#include "tool.h"
class PkgConfigFile;
class PkgConfigGenerator: public Tool
{
-private:
- class Worker: public InternalTask::Worker
- {
- private:
- const PkgConfigFile ⌖
-
- public:
- Worker(const PkgConfigFile &);
-
- private:
- void main() override;
-
- std::string prefixify(const Msp::FS::Path &, const Msp::FS::Path &);
- };
-
public:
PkgConfigGenerator(Builder &);
Target *create_target(const std::vector<Target *> &, const std::string &) override;
- Task *run(const Target &) const override;
+
+private:
+ static bool _run(const PkgConfigFile &);
+ static std::string prefixify(const Msp::FS::Path &, const Msp::FS::Path &);
};
#endif