summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudioGeneratorOptions.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-08-13 18:09:24 (GMT)
committerBrad King <brad.king@kitware.com>2014-08-13 18:09:24 (GMT)
commit5fcb42ab69b030f8bbc20f800b1e0639c5ee7077 (patch)
tree9ad382082675d242cd2d1f804d5de54bd66a617d /Source/cmVisualStudioGeneratorOptions.cxx
parent8e026aa7f27aaa545b6421e61d7ba3add1c5d10d (diff)
downloadCMake-5fcb42ab69b030f8bbc20f800b1e0639c5ee7077.zip
CMake-5fcb42ab69b030f8bbc20f800b1e0639c5ee7077.tar.gz
CMake-5fcb42ab69b030f8bbc20f800b1e0639c5ee7077.tar.bz2
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.
Diffstat (limited to 'Source/cmVisualStudioGeneratorOptions.cxx')
-rw-r--r--Source/cmVisualStudioGeneratorOptions.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmVisualStudioGeneratorOptions.cxx b/Source/cmVisualStudioGeneratorOptions.cxx
index b14fc45..745961f 100644
--- a/Source/cmVisualStudioGeneratorOptions.cxx
+++ b/Source/cmVisualStudioGeneratorOptions.cxx
@@ -324,10 +324,6 @@ cmVisualStudioGeneratorOptions
fout << sep << cmVisualStudio10GeneratorOptionsEscapeForXML(*i);
sep = ";";
}
- if (m->first == "AdditionalIncludeDirectories")
- {
- fout << sep << "%(AdditionalIncludeDirectories)";
- }
fout << "</" << m->first << ">\n";
}
}