diff options
author | Brad King <brad.king@kitware.com> | 2019-12-08 16:21:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-12-08 16:21:38 (GMT) |
commit | fc9913075213e7636add2a811d41b6f3a7c37374 (patch) | |
tree | dbf4f4a0e8c6844d5c2e4efbd3fc552263bb9f48 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | d71f69649f2085a67ecf27fed890de5a8f1f2362 (diff) | |
parent | fa93b4a59bd639c995ffdf8a5c41dc587c160716 (diff) | |
download | CMake-fc9913075213e7636add2a811d41b6f3a7c37374.zip CMake-fc9913075213e7636add2a811d41b6f3a7c37374.tar.gz CMake-fc9913075213e7636add2a811d41b6f3a7c37374.tar.bz2 |
Merge branch 'backport-unity-object-libraries' into unity-object-libraries
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 5ffa576..8fc40a79 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -2160,7 +2160,6 @@ void cmVisualStudio10TargetGenerator::WriteAllSources(Elem& e0) this->WriteExtraSource(e1, si.Source); break; case cmGeneratorTarget::SourceKindHeader: - case cmGeneratorTarget::SourceKindUnityBatched: this->WriteHeaderSource(e1, si.Source); break; case cmGeneratorTarget::SourceKindIDL: @@ -2172,6 +2171,7 @@ void cmVisualStudio10TargetGenerator::WriteAllSources(Elem& e0) case cmGeneratorTarget::SourceKindModuleDefinition: tool = "None"; break; + case cmGeneratorTarget::SourceKindUnityBatched: case cmGeneratorTarget::SourceKindObjectSource: { const std::string& lang = si.Source->GetLanguage(); if (lang == "C" || lang == "CXX") { |