summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-04 12:26:09 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-11-04 12:26:09 (GMT)
commit926a22b8b8131347a61681252f9b27644607cb89 (patch)
tree2498532b28f0db8c7d9a6d89822cd671cd9ff57a /Source
parent28a9e71c527dd4d9159af2a1e83bdd4ff0925cdc (diff)
parent4cb5d3353f488ee7bf3943619e67a5664dbae8df (diff)
downloadCMake-926a22b8b8131347a61681252f9b27644607cb89.zip
CMake-926a22b8b8131347a61681252f9b27644607cb89.tar.gz
CMake-926a22b8b8131347a61681252f9b27644607cb89.tar.bz2
Merge topic 'vs-flag-order'
4cb5d335 VS: Place source-specific AdditionalOptions after target-wide flags
Diffstat (limited to 'Source')
-rw-r--r--Source/cmVisualStudioGeneratorOptions.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmVisualStudioGeneratorOptions.cxx b/Source/cmVisualStudioGeneratorOptions.cxx
index 4be183d..e751bfc 100644
--- a/Source/cmVisualStudioGeneratorOptions.cxx
+++ b/Source/cmVisualStudioGeneratorOptions.cxx
@@ -334,8 +334,9 @@ void cmVisualStudioGeneratorOptions::OutputAdditionalOptions(
} else {
fout << "<AdditionalOptions>";
}
- fout << cmVisualStudio10GeneratorOptionsEscapeForXML(this->FlagString)
- << " %(AdditionalOptions)</AdditionalOptions>\n";
+ fout << "%(AdditionalOptions) "
+ << cmVisualStudio10GeneratorOptionsEscapeForXML(this->FlagString)
+ << "</AdditionalOptions>\n";
} else {
fout << prefix << "AdditionalOptions=\"";
fout << cmVisualStudioGeneratorOptionsEscapeForXML(this->FlagString);