[cmake-developers] VS Project Settings User Defines
Wesley Smith
wesley.hoke at gmail.com
Thu Mar 23 11:15:23 EDT 2017
The only reference I've been able to find to this property is via the
VisualStudio SDK https://msdn.microsoft.com/en-us/library/hh710870.aspx .
It doesn't seem to be part of any compiler configuration. The conclusion
here being that none of the flags in the VS tables map to this XML tag. I
wonder if the solution here is to add something like the VS_GLOBAL_ prefix
or somehow attach custom flags to a target config e.g. attach a flag to the
Debug|x64 config of target X.
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"
Label="Configuration">
<CustomFlag>CustomValue</CustomFlag>
</PropertyGroup>
On Thu, Mar 23, 2017 at 7:51 AM, Brad King <brad.king at kitware.com> wrote:
> On 03/23/2017 10:41 AM, Wesley Smith wrote:
> > Specifically, I'm trying to add these tags:
> >
> > <CodeAnalysisRuleSet>..\..\add-in.ruleset</CodeAnalysisRuleSet>
> > <RunCodeAnalysis>true</RunCodeAnalysis>
> >
> > per-config tags are added via Flag arguments,
>
> What are the corresponding command-line flags that these add?
> If they appear in `Source/cmVS*CLFlagTable.h` then adding the
> flags in `CMAKE_C_FLAGS` or other places we support flags will
> reverse-map into the vcxproj file settings.
>
> -Brad
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20170323/b5025aed/attachment.html>
More information about the cmake-developers
mailing list