diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2018-03-31 02:55:30 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2018-03-31 02:55:30 (GMT) |
commit | 30bbb4f2acdebc50a08ef29a0b79577f8275ed2a (patch) | |
tree | 4f1ea387c4dba17a6327e3cada274f666469746f /Source/cmVisualStudio10TargetGenerator.h | |
parent | 2fc79bcb03dd2ea21caf4227e6e14a8d8d803bfb (diff) | |
download | CMake-30bbb4f2acdebc50a08ef29a0b79577f8275ed2a.zip CMake-30bbb4f2acdebc50a08ef29a0b79577f8275ed2a.tar.gz CMake-30bbb4f2acdebc50a08ef29a0b79577f8275ed2a.tar.bz2 |
cmVisualStudio10TargetGenerator: extend DOM-like generation
The local Elem class is extended with more XML-generating functions.
WriteGroups() is rewritten to use these new functions,
avoiding BuildFileStream.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.h')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h index 7106737..4df03b6 100644 --- a/Source/cmVisualStudio10TargetGenerator.h +++ b/Source/cmVisualStudio10TargetGenerator.h @@ -158,7 +158,8 @@ private: void WriteEvent(const char* name, std::vector<cmCustomCommand> const& commands, std::string const& configName); - void WriteGroupSources(std::string const& name, ToolSources const& sources, + void WriteGroupSources(Elem& e0, std::string const& name, + ToolSources const& sources, std::vector<cmSourceGroup>&); void AddMissingSourceGroups(std::set<cmSourceGroup*>& groupsUsed, const std::vector<cmSourceGroup>& allGroups); |