[Cmake] .NET 2003 projects and precompiled headers

Mathews, Rob rmathews at envoyww . com
Wed, 5 Nov 2003 14:49:12 -0500


When I specify the  "/YX" compiler flag in ADD_DEFINITIONS, like this: 

ADD_DEFINITIONS(/YX"defs.h")

CMake does not generate the correct .vcproj file. It is missing the
following tags: 

UsePrecompiledHeader="2"
PrecompiledHeaderThrough="defs.h"

I tested this with the latest version of CMake 1.8.2 by syncing against the
development server
and building locally.

Is this a bug? Can we fix it?