Additional make target (for code coverage using gcc/gcov)
Qt Creator and other tools
1
Posts
1
Posters
4.2k
Views
1
Watching
-
wrote on 29 Jun 2011, 09:40 last edited by
Does anyone know of a way to make qmake add additional make targets (in addition to debug and release) to the created make files, and define how these targets are built?
What I want to do is add a 'coverage' target that performs a debug build with the additional -fprofile-arcs and -ftest-coverage options passed to the compiler and linker, and linking with the gcov library.
1/1