summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-11-12 14:51:05 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-11-12 14:51:16 (GMT)
commit5b46bc319435f429e3e616246e5e39b06f0e7fd0 (patch)
tree9cdfdc9b88e2a50270fba541b988442e47794cc7 /Source/cmVisualStudio10TargetGenerator.cxx
parent45f8b10e0c12b3e17315851afd1bcd178225ce6a (diff)
parent9a5418320ea40d61a63fd47e5ac133c3ff780062 (diff)
downloadCMake-5b46bc319435f429e3e616246e5e39b06f0e7fd0.zip
CMake-5b46bc319435f429e3e616246e5e39b06f0e7fd0.tar.gz
CMake-5b46bc319435f429e3e616246e5e39b06f0e7fd0.tar.bz2
Merge topic 'unity-HEADER_FILE_ONLY'
9a5418320e Unity: Don't include sources with HEADER_FILE_ONLY property set Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4023
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index dac86a1..0456ea5 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -2160,6 +2160,7 @@ 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: