This topic explains the two ways to set custom compiler settings and linker options that you want to use only for testing with C++test.

Sections include:

Note that the latter option is designed for adding options in addition to those specified in the project files.  These additional options will persist even if the project’s options change.