One has to check the CMake source code to see how it's done. But I am pretty sure it doesn't use the #pragma hdrstop but the -x compiler switch:unfortunately that doesn't describe how/if that will use PCH with gcc
https://gcc.gnu.org/onlinedocs/gcc/Prec ... ed-Headers