diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2019-12-07 14:01:06 (GMT) |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2019-12-07 14:44:31 (GMT) |
commit | 5ae07e7166c6cb7eada2a2d171d216039d977058 (patch) | |
tree | f6b4f32c15d1aae24a8b8a2fd6ec105287cf64dd /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | f742f7ac1f213531da07e56582b533114fe4b864 (diff) | |
download | CMake-5ae07e7166c6cb7eada2a2d171d216039d977058.zip CMake-5ae07e7166c6cb7eada2a2d171d216039d977058.tar.gz CMake-5ae07e7166c6cb7eada2a2d171d216039d977058.tar.bz2 |
Unity: Generic source file handling for all generators
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 94b6495..5c0b881 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -2141,7 +2141,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: @@ -2153,6 +2152,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") { |