| Sorry for the late answer. I will try to explain how we use the cppcheck and the plugin. In our call to the cppcheck, we go (via makefile) to the folder "source" and give only the filenames and the directories of the include's as arguments. So the xml-file contains the filename for files in the folder "source", absolute paths for headers in the include folder of the project and absolute paths for headers in the include folder of other libraries (at a server). Before we use your warnings-ng plugin, we use cppcheck plugin to publish the results. Because this plugin need it (maybe in an old version), we add the absolute path to the filenames via a perl script. So we had absolute paths for all files. In the warnings-ng plugin I saw as tooltip the subfolders (under the workspace dir), if the extra soure directory was left empty. And the subfolders under the common root, if the extra soure directory was set to this common root. But I find a way to copy the files, as you suggest. And it works fine. So, if nobody else need the multiple roots (and maybe I misunderstand how this works), we can close this JIRA. |