using namespace std;
using namespace Msp;
-Target *VsSolutionGenerator::create_target(const vector<Target *> &, const string &)
+VsSolutionGenerator::VsSolutionGenerator(Builder &b):
+ Tool(b, "VSSG")
{
- throw logic_error("Not implemented");
+ set_run_internal(_run);
}
-Task *VsSolutionGenerator::run(const Target &target) const
+Target *VsSolutionGenerator::create_target(const vector<Target *> &, const string &)
{
- const VsSolutionFile &solution = dynamic_cast<const VsSolutionFile &>(target);
- return new InternalTask([&solution]{ return _run(solution); });
+ throw logic_error("Not implemented");
}
bool VsSolutionGenerator::_run(const VsSolutionFile &solution)