[Cmake-commits] [cmake-commits] zack.galbreath committed cmparseMSBuildXML.py 1.2 1.3

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Sep 29 15:07:41 EDT 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv25916

Modified Files:
	cmparseMSBuildXML.py 
Log Message:
BUG: cmparseMSBuildXML should output StringProperty values too


Index: cmparseMSBuildXML.py
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmparseMSBuildXML.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** cmparseMSBuildXML.py	26 Jun 2009 15:50:09 -0000	1.2
--- cmparseMSBuildXML.py	29 Sep 2009 19:07:39 -0000	1.3
***************
*** 247,250 ****
--- 247,257 ----
          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



More information about the Cmake-commits mailing list