[CMake] VCProj Files: Precompiled headers

Brad King brad.king at kitware.com
Thu Jul 13 14:40:48 EDT 2006


Peter Kahn wrote:
> I noticed that there is no support for the xml generation for this and a
> bunch of other options in the VS.NET <http://VS.NET> 2003  vcproj
> files.  If all the xml settings correspond to command line switches,
> then I can determine the switches and set them in the CMAKE_CXX_FLAGS
> variable.
> 
> Is this the standard solution for areas of the xml not currently handled
> by cmake?

No, but you can submit a patch to the bug tracker to add more options.
The flag-to-xml-attribute map is here:

http://www.cmake.org/cgi-bin/viewcvs.cgi/Source/cmLocalVisualStudio7Generator.cxx?root=CMake&view=markup

See the cmLocalVisualStudio7GeneratorFlagTable table.

-Brad


More information about the CMake mailing list