makeprg is set to:
cd build/ && cmake --build . --config Debug && ctest && gdb -q -ex run ./a
This allows me to build application, run tests and start debugging session sequentially in one command.
But I can't get gcc error report into quckfix:
... make: *** [Makefile:115: all] Error 2 shell returned 2 Press ENTER or type command to continue
and then getting an error:
E40: Can't open errorfile /tmp/vkL411R/82 Press ENTER or type command to continue
How I would make quickfix working and being able to parse compiler output in this case?