Hi,
I'm trying to figure out if it's possible to add user defined XML entries
to the project config section of a visual studio file.  From what I can see
it's not, but maybe someone here know of a code path I haven't come across.

Specifically, I'm trying to add these tags:

<CodeAnalysisRuleSet>..\..\add-in.ruleset</CodeAnalysisRuleSet>
    <RunCodeAnalysis>true</RunCodeAnalysis>

These are added on a per-config basis.  From what I can see, per-config
tags are added via Flag arguments, which are hard coded into the source.
Basically, I need to get some data into the FlagMap written by

void cmVisualStudioGeneratorOptions::OutputFlagMap(std::ostream& fout,
                                                   const char* indent)

The tags written in its calling function
(cmVisualStudio10TargetGenerator::WriteMSToolConfigurationValuesManaged)
are also hard coded, so I believe this is the only place possible for
dynamically generating tags.


Any ideas?

thanks!
wes
-- 

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

Reply via email to