diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-10-01 21:21:28 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-10-01 21:21:28 (GMT) |
commit | f9687e328f7ea64ea6384aae11af36fdd3a12643 (patch) | |
tree | 91e2555b44011705d3188f11d7b7598f29c0ba7b /Source/cmparseMSBuildXML.py | |
parent | 3c7354c1cd9fb081df8b3f4faef5160ea83f584f (diff) | |
download | CMake-f9687e328f7ea64ea6384aae11af36fdd3a12643.zip CMake-f9687e328f7ea64ea6384aae11af36fdd3a12643.tar.gz CMake-f9687e328f7ea64ea6384aae11af36fdd3a12643.tar.bz2 |
Merge in changes to CMake-2-8 RC 2
Diffstat (limited to 'Source/cmparseMSBuildXML.py')
-rwxr-xr-x | Source/cmparseMSBuildXML.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmparseMSBuildXML.py b/Source/cmparseMSBuildXML.py index fece9a6..4e3f34e 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 |