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:
- Visual C++ Redistributable for Visual Studio 2015 https://www.microsoft.com/en-us/download/details.aspx?id=48145.
- Microsoft Build Tools 2015 https://www.microsoft.com/en-us/download/details.aspx?id=48159.
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.