mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 06:30:20 -06:00
BUG: cmparseMSBuildXML should output StringProperty values too
This commit is contained in:
@@ -246,6 +246,13 @@ class MSBuildToCMake:
|
||||
else:
|
||||
toReturn +=" {\""+i.attributes["Name"]+"\", \""+i.attributes["Switch"]+"\",\n \""+i.DisplayName+"\",\n \"\", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},\n"
|
||||
|
||||
toReturn += "\n //String Properties\n"
|
||||
for i in self.stringProperties:
|
||||
if i.attributes["Switch"] == "":
|
||||
toReturn += " // Skip [" + i.attributes["Name"] + "] - no command line Switch.\n";
|
||||
else:
|
||||
toReturn +=" {\""+i.attributes["Name"]+"\", \""+i.attributes["Switch"]+i.attributes["Separator"]+"\",\n \""+i.DisplayName+"\",\n \"\", cmVS7FlagTable::UserValue},\n"
|
||||
|
||||
toReturn += " {0,0,0,0,0}\n};"
|
||||
return toReturn
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user