Added optimisation and debug flags to coverage flags.
Added optimisation and debug flags to coverage flags.

As recommended optimisation will be disabled and debug flags enabled for covered
targets.

RWTH-ELP/CMake-codecov,RWTH-ELP/CMake-codecov,RWTH-ELP/CMake-codecov