Configuring C++test

Suppressing additional (include) directories/files

It is common to use libraries in C++ that are not part of what the compiler considers to be standard include directories. Standard include directories are suppressed from C++test violations (since one cannot change these).

TICS allows additional (include) directories and files to be suppressed from generating C++test violations by creating a file named cpptestsuppressdirs.txt in the TICS configuration directory.

Example of cpptestsuppressdirs.txt contents

# comment

*_i.c
*LibExt.h
*LibInt.h
*LibraryExt.h
*LibraryInt.h
*\resource.h
*stdafx.*
c:\x\y\z\*

The format is line based. Blank lines and lines starting with # are ignored. Other lines should contain a file or directory path. So-called glob style (using '*' and '?') wildcards are allowed.