Skip to content
  • Brad King's avatar
    VS14: Generate flag tables from MSBuild v140 tool files · d96b3f68
    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/V140/1033/cl.xml" > cmVS14CLFlagTable.h
     python cmparseMSBuildXML.py -x ".../MSBuild/Microsoft.Cpp/v4.0/V140/1033/lib.xml" > cmVS14LibFlagTable.h
     python cmparseMSBuildXML.py -x ".../MSBuild/Microsoft.Cpp/v4.0/V140/1033/link.xml" > cmVS14LinkFlagTable.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.
    
    Co-Author: Pawel Stopinski <diokhan@go2.pl>
    d96b3f68