Compiler options for code coverage

My GCC compiler version (actually the QNX q++ compiler) requires me to specify the following command line arguments to generate code coverage metrics

-ftest-coverage -fprofile-arcs -nopipe -Wc,-auxbase-strip,$@

The first couple of options are obviously simple to add, but the last option poses more issues

-Wc,-auxbase-strip,$@

Here, $@ is the makefile variable for the name of the target being generated which, in this case, needs to be the name of the current object file being generated.

Is there a way achieve this argument in CMake?

For anyone that is interested, I ended up solving this by making a simple python script that would apply the appropriate transformation to the compiler command line and using this script as the CXX_COMPILER_LAUNCHER.