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