J
JoeS
Is there anyway to share a single pch file between
projects in VC 7.0? I have 300+ projects each of which
creates its own pch. All projects include the exact same
header files in the precompiled header. Its takes about 7
seconds to create the precompiled header for each project.
That's 35 minutes spent creating precompiled headers for
all project! All of the projects use PDB files for debug
info.
I tried creating Precomp.pch in project Precomp.vcproj.
When I tried using Precomp.pch in a project Foo.vcproj
using /Fp I get this error message:
c:\objd\Foo\vc70.pdb is not the pdb file that was used
when this precompiled header was created, recreate the
precompiled header."
In the pre-build step of Foo.vcproj I tried copying
c:\objd\Precomp\vc70.pdb to c:\objd\Foo\vc70.pdb but this
resulted in the same error message.
Any insight is much appreciated.
Thanks.
Joe
projects in VC 7.0? I have 300+ projects each of which
creates its own pch. All projects include the exact same
header files in the precompiled header. Its takes about 7
seconds to create the precompiled header for each project.
That's 35 minutes spent creating precompiled headers for
all project! All of the projects use PDB files for debug
info.
I tried creating Precomp.pch in project Precomp.vcproj.
When I tried using Precomp.pch in a project Foo.vcproj
using /Fp I get this error message:
c:\objd\Foo\vc70.pdb is not the pdb file that was used
when this precompiled header was created, recreate the
precompiled header."
In the pre-build step of Foo.vcproj I tried copying
c:\objd\Precomp\vc70.pdb to c:\objd\Foo\vc70.pdb but this
resulted in the same error message.
Any insight is much appreciated.
Thanks.
Joe