mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 06:09:14 -05:00
VS: Refactor include directory generation in .vcxproj files
Use the cmVisualStudioGeneratorOptions flag map to add the AdditionalIncludeDirectories element to the project file. Move appending of %(AdditionalIncludeDirectories) to the locations that populate the flag vectors instead of where they are written out.
This commit is contained in:
@@ -324,10 +324,6 @@ cmVisualStudioGeneratorOptions
|
||||
fout << sep << cmVisualStudio10GeneratorOptionsEscapeForXML(*i);
|
||||
sep = ";";
|
||||
}
|
||||
if (m->first == "AdditionalIncludeDirectories")
|
||||
{
|
||||
fout << sep << "%(AdditionalIncludeDirectories)";
|
||||
}
|
||||
fout << "</" << m->first << ">\n";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user