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.k...@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 > >
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers