]> git.tdb.fi Git - builder.git/blob - source/vssolutiongenerator.h
Refactor InternalTask to take a functor
[builder.git] / source / vssolutiongenerator.h
1 #ifndef VSSOLUTIONGENERATOR_H_
2 #define VSSOLUTIONGENERATOR_H_
3
4 #include "tool.h"
5
6 class VsSolutionFile;
7
8 class VsSolutionGenerator: public Tool
9 {
10 public:
11         VsSolutionGenerator(Builder &b): Tool(b, "VSSG") { }
12
13         Target *create_target(const std::vector<Target *> &, const std::string &) override;
14         Task *run(const Target &) const override;
15
16 private:
17         static bool _run(const VsSolutionFile &);
18 };
19
20 #endif