CMakePCHCompiler icon indicating copy to clipboard operation
CMakePCHCompiler copied to clipboard

Support multiple configurations/platforms in Visual Studio

Open 0x1F9F1 opened this issue 6 years ago • 1 comments

To avoid issues when switching configurations/platforms in Visual Studio, store the pch in a directory based on the $(Configuration) and $(Platform) macros.

0x1F9F1 avatar Jul 23 '19 02:07 0x1F9F1

Tested using Visual Studio 2019. Without it I got issues like "compiler option 'DLL library (/MD)' inconsistent with precompiled header" when building multiple configurations. It is working well now.

EchterAgo avatar Aug 25 '19 09:08 EchterAgo