I want to make cppcheck
a part of the build process for tfs
builds. Is adding a command to the prebuild script the only way to run it? I am using PowerShell
scripts and I added the line:
Start-Process -FilePath 'C:\Program Files (x86)\Cppcheck\cppcheck.exe' -ArgumentList $("--xml-version=2 . 2> cppcheck.xml") -NoNewWindow -Wait -WorkingDirectory $projectDirectory
However I cannot test it without checking in my changes into Git project. Also running this from Visual Studio 2013, where would I see the results of this check?