QMake: sharing a pch
ozgi last edited by
I have two different applications that use the same precompiled headers.
CONFIG += precompile_header
PRECOMPILED_HEADER = /dev/include/MyPrecompiled.h
in both .pro files
The problem is that when I build both applications, the pch is created twice. Once for each application, when the same pch is placed in each of the applications dir.
Is there a way to create the pch file only once? meaning setting it a shared directory and name and have both the applications use it?