[cmake-developers] GUI hooks for VS variables

Brad King brad.king at kitware.com
Fri Jan 28 17:41:48 EST 2011


On 01/28/2011 04:58 PM, James Bigler wrote:
> If I wanted to teach CMake about a particular flag (i.e. to make it's
> setting show up in the properties dialog instead of in the Command Line
> extra flags section), what part of the code do I need to modify to
> accomplish this?

Look at Source/cmLocalVisualStudio7Generator.cxx for the

  cmLocalVisualStudio7GeneratorFlagTable

variable.  The VS 10 generator's table was generated from MSBuild XML
files so we know all the flags are present.  We still get patches for
more flags from earlier VS versions on occasion.  Feel free.

-Brad



More information about the cmake-developers mailing list