Help in setting up C++ analysis


SQ setup:

  • Enterprise Edition
  • Version 8.9.7 (build 52159)

Any updates on this issue?

Our project setup is similar to Kevin’s, our build system generates some directories temporary and executes Makefiles inside them. They are deleted afterwards, but in the .json the cwd won’t ever change.

Is there any native way of instructing the scanner to avoid these transient directories?
The only workaround I’ve managed to do to bypass this problem was to just parse the generated .json and recreate the transient directories (knowing that they have a standardized name) in a one liner, but I feel this is not the cleanest way to solve this.

Best regards and have a nice day :slight_smile:

Hello @Mihai_Cherechesu, and welcome to our community!

To better understand if we can improve things, could you share with us your scanner output and build-wrapper files? If you want to share them privately, I can send you a DM.