VSProjectParser is a utility to generate compilation database from Visual Studio Solution or Project files.

Location: This utility is kept under corona/cxxparser/bin

Portability:  Should be working on Windows operating systems and tested on Windows 7 and 10.

Prerequisites:

  1. Visual C++ Redistributable for Visual Studio 2015 https://www.microsoft.com/en-us/download/details.aspx?id=48145.
  2. Microsoft Build Tools 2015 https://www.microsoft.com/en-us/download/details.aspx?id=48159.
Note:
1. The above prerequisites are installed as part of Visual Studio 2015 installation.
2. If VS 2015 is not installed, then these can be installed as standalone tools via mentioned link.

How to use:To generate a CDB from solution or project file goes like this:
$ VSProjectParser.exe

To generate a CDB from folder containing solution or project file goes like this:
$VSProjectParser.exe

Generated CDB can be used to run strict mode analysis. For more details refer to this link.

Limitations: The `VSProjectParser` tool supports solution and project files for Visual Studio 2010 onwards.Hence only newer extensions .sln and .vcxproj are supported.

Known problems: As this tool skips missing project imports the generated CDB may not capture complete compile commands.