diff options
author | Brad King <brad.king@kitware.com> | 2014-07-23 18:59:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-23 19:01:46 (GMT) |
commit | 29a0642ba78392ab20037e677d28eae2eea23de7 (patch) | |
tree | 08dc8bdebf9ea58128e6844ea23e476dc10135a1 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 8fa087ab38c41e76e502f438eff42d412962108f (diff) | |
download | CMake-29a0642ba78392ab20037e677d28eae2eea23de7.zip CMake-29a0642ba78392ab20037e677d28eae2eea23de7.tar.gz CMake-29a0642ba78392ab20037e677d28eae2eea23de7.tar.bz2 |
VS: Encode mapped flag values in XML project files (#15031)
Teach cmVisualStudioGeneratorOptions to encode FlagMap entries
and the FlagString value properly in vcproj/vcxproj XML files.
Update the one existing call site that pre-encoded the value
to not do so.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index e0fe0fd..3ed4a48 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -1013,7 +1013,7 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout, if(!this->ModuleDefinitionFile.empty()) { std::string defFile = - this->ConvertToXMLOutputPath(this->ModuleDefinitionFile.c_str()); + this->ConvertToOptionallyRelativeOutputPath(this->ModuleDefinitionFile); linkOptions.AddFlag("ModuleDefinitionFile", defFile.c_str()); } switch(target.GetType()) |