diff options
author | Brad King <brad.king@kitware.com> | 2014-07-23 15:13:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-23 18:18:53 (GMT) |
commit | 1c209ac165cd2c25c632cdd238a9948c1651f907 (patch) | |
tree | 5996e7a96458af31fd09cba0232c2dbd15de54e8 /Source/cmVisualStudio10TargetGenerator.h | |
parent | 91c933546d1eebb6a637f403824d63177c86c11e (diff) | |
download | CMake-1c209ac165cd2c25c632cdd238a9948c1651f907.zip CMake-1c209ac165cd2c25c632cdd238a9948c1651f907.tar.gz CMake-1c209ac165cd2c25c632cdd238a9948c1651f907.tar.bz2 |
cmIDEOption: Store mapped flag values as a vector<string>
Some FlagMap entries are ;-lists. Store values as vector<string> so
that individual values may contain ';' characters. Delay the
construction of the final ;-list until writing to the VS project file.
With this approach the generated file may contain ;-separated values
that contain encoded ';' characters.
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 6c92b57..7a329cb 100644 --- a/Source/cmVisualStudio10TargetGenerator.h +++ b/Source/cmVisualStudio10TargetGenerator.h @@ -90,7 +90,8 @@ private: void WriteGroups(); void WriteProjectReferences(); bool OutputSourceSpecificFlags(cmSourceFile const* source); - void AddLibraries(cmComputeLinkInformation& cli, std::string& libstring); + void AddLibraries(cmComputeLinkInformation& cli, + std::vector<std::string>& libVec); void WriteLibOptions(std::string const& config); void WriteEvents(std::string const& configName); void WriteEvent(const char* name, |