[ create a new paste ] login | about

Link: http://codepad.org/r44yYJMR    [ raw code | fork ]

C++, pasted on Sep 23:
1
2
3
4
5
6
7
8
9
10
11
12
13
//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())
//...


Create a new paste based on this one


Comments: