summaryrefslogtreecommitdiff
path: root/Source/cmparseMSBuildXML.py
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmparseMSBuildXML.py')
-rwxr-xr-xSource/cmparseMSBuildXML.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmparseMSBuildXML.py b/Source/cmparseMSBuildXML.py
index fece9a6d60..4e3f34e42b 100755
--- a/Source/cmparseMSBuildXML.py
+++ b/Source/cmparseMSBuildXML.py
@@ -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