QMake: sharing a pch
-
I have two different applications that use the same precompiled headers.
e.g.
'
CONFIG += precompile_header
PRECOMPILED_HEADER = /dev/include/MyPrecompiled.h
'
in both .pro filesThe 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?
Thanks!