2009/1/6 Steve Huston <[email protected]>: > I've tried to come up with a more foolproof way to handle this. Visual > C++'s make can't deal with including outside files (like the generated > .mk files). It also doesn't have wildcards. MS Build can handle this, > I believe, but unless/until VC++ migrates, that option is not > available.
I also looked at this and could not believe that the VC++ project file format was so inflexible. I can only guess that people in Microsoft don't use VC++ project files. I wonder if a really cheesy solution would work - how about having a "template" .vcproj file will all the stuff in it apart from the elements that list each file. The final stage of the code generator (python) would just iterate through each file in the generated directory and add the xml elements to the vcproj file? It wouldn't have to parse the xml just go to a marker position in the file. RG
