From 1fe66c462b3232a6f549b868d2f9ccd73c8bd1d0 Mon Sep 17 00:00:00 2001 From: Vitaly Stakhovsky Date: Mon, 29 Jan 2018 12:59:53 -0500 Subject: VS: Restore the order of the AdditionalIncludeDirectories tag Move the `AdditionalIncludeDirectories` tag back to the VS-preferred location in `.vcxproj` files. Fixes: #17691 --- Source/cmVisualStudio10TargetGenerator.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 4555358..51b9922 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -2169,9 +2169,9 @@ bool cmVisualStudio10TargetGenerator::OutputSourceSpecificFlags( clOptions.AddIncludes(includeList); clOptions.SetConfiguration(config.c_str()); clOptions.PrependInheritedString("AdditionalOptions"); - clOptions.OutputFlagMap(*this->BuildFileStream, " "); clOptions.OutputAdditionalIncludeDirectories(*this->BuildFileStream, " ", "\n", lang); + clOptions.OutputFlagMap(*this->BuildFileStream, " "); clOptions.OutputPreprocessorDefinitions(*this->BuildFileStream, " ", "\n", lang); } @@ -2535,9 +2535,9 @@ void cmVisualStudio10TargetGenerator::WriteClOptions( } this->WriteString("\n", 2); clOptions.PrependInheritedString("AdditionalOptions"); - clOptions.OutputFlagMap(*this->BuildFileStream, " "); clOptions.OutputAdditionalIncludeDirectories( *this->BuildFileStream, " ", "\n", this->LangForClCompile); + clOptions.OutputFlagMap(*this->BuildFileStream, " "); clOptions.OutputPreprocessorDefinitions(*this->BuildFileStream, " ", "\n", this->LangForClCompile); -- cgit v0.12