Skip to content
  • Brad King's avatar
    VS11: Generate flag tables from MSBuild V110 tool files · 9b2dda5d
    Brad King authored
    Run cmparseMSBuildXML.py on cl.xml, lib.xml, and link.xml to generate
    our flag tables:
    
     python cmparseMSBuildXML.py -x ".../MSBuild/Microsoft.Cpp/v4.0/V110/1033/cl.xml" > cmVS11CLFlagTable.h
     python cmparseMSBuildXML.py -x ".../MSBuild/Microsoft.Cpp/v4.0/V110/1033/lib.xml" > cmVS11LibFlagTable.h
     python cmparseMSBuildXML.py -x ".../MSBuild/Microsoft.Cpp/v4.0/V110/1033/link.xml" > cmVS11LinkFlagTable.h
    
    Fix up the declaration names at the top of each file.  Finally, teach
    cmVisualStudio10TargetGenerator to select the version of the table
    matching the version of VS.
    9b2dda5d