Add support for the preliminary IDE project file generator.

Most of this is just a stopgap. I would like --gen=vs to support the full API.