X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fvssolutiongenerator.cpp;h=7dce0767e78ebd1138966d80442c80e9606c1436;hb=1ed833343bc83b83c5f61cbfd74423bbba677a04;hp=5fd8e4dff2a10d0371227f9f76c136ef0d04ba4b;hpb=2a23a19ff6717b32ddc45f84681c5c969c967e45;p=builder.git diff --git a/source/vssolutiongenerator.cpp b/source/vssolutiongenerator.cpp index 5fd8e4d..7dce076 100644 --- a/source/vssolutiongenerator.cpp +++ b/source/vssolutiongenerator.cpp @@ -11,15 +11,15 @@ using namespace std; using namespace Msp; -Target *VsSolutionGenerator::create_target(const vector &, 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 &, const string &) { - const VsSolutionFile &solution = dynamic_cast(target); - return new InternalTask([&solution]{ return _run(solution); }); + throw logic_error("Not implemented"); } bool VsSolutionGenerator::_run(const VsSolutionFile &solution)