mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 19:51:58 +01:00
ProGen fixes for VS2010-2013
This commit is contained in:
@@ -556,11 +556,8 @@ protected:
|
||||
for (unsigned long i = 0; i < pConfigurationTypeList->length(); i++)
|
||||
{
|
||||
Poco::XML::Element* pConfigurationTypeElem = static_cast<Poco::XML::Element*>(pConfigurationTypeList->item(i));
|
||||
Poco::XML::Node* pPropertyGroupElem = pConfigurationTypeElem->parentNode();
|
||||
Poco::AutoPtr<Poco::XML::Element> pPlatformToolsetElem = pProjectDoc->createElement("PlatformToolset");
|
||||
Poco::AutoPtr<Poco::XML::Text> pText = pProjectDoc->createTextNode("v110");
|
||||
pPlatformToolsetElem->appendChild(pText);
|
||||
pPropertyGroupElem->appendChild(pPlatformToolsetElem);
|
||||
removeElement(pConfigurationTypeElem->parentNode(), "PlatformToolset");
|
||||
appendElement(pConfigurationTypeElem->parentNode(), "PlatformToolset", "v110");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -611,11 +608,8 @@ protected:
|
||||
for (unsigned long i = 0; i < pConfigurationTypeList->length(); i++)
|
||||
{
|
||||
Poco::XML::Element* pConfigurationTypeElem = static_cast<Poco::XML::Element*>(pConfigurationTypeList->item(i));
|
||||
Poco::XML::Node* pPropertyGroupElem = pConfigurationTypeElem->parentNode();
|
||||
Poco::AutoPtr<Poco::XML::Element> pPlatformToolsetElem = pProjectDoc->createElement("PlatformToolset");
|
||||
Poco::AutoPtr<Poco::XML::Text> pText = pProjectDoc->createTextNode("v120");
|
||||
pPlatformToolsetElem->appendChild(pText);
|
||||
pPropertyGroupElem->appendChild(pPlatformToolsetElem);
|
||||
removeElement(pConfigurationTypeElem->parentNode(), "PlatformToolset");
|
||||
appendElement(pConfigurationTypeElem->parentNode(), "PlatformToolset", "v120");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user