//old
//if(const char* toolset = gg->GetPlatformToolset())
//new
if(this->Target->GetProperty("PLATFORM_TOOLSET"))
{
std::string tmp("<PlatformToolset>");
tmp += this->Target->GetProperty("PLATFORM_TOOLSET");
tmp += "</PlatformToolset>";
this->WriteString(tmp.c_str(), 2);
}
else if(const char* toolset = gg->GetPlatformToolset())
//...