diff options
author | Brad King <brad.king@kitware.com> | 2019-12-16 15:03:54 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-12-16 15:04:03 (GMT) |
commit | dfbe8109b4b6b495b2dc11fcc4687a282645382d (patch) | |
tree | b71c82c457e90c0ba80b4f014c6d82197c322fe1 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | e3059f7bb48cf7435af26033868ada5030e18615 (diff) | |
parent | c5c218fa0d00c0aa06bf51fafadd8e71f2c549fb (diff) | |
download | CMake-dfbe8109b4b6b495b2dc11fcc4687a282645382d.zip CMake-dfbe8109b4b6b495b2dc11fcc4687a282645382d.tar.gz CMake-dfbe8109b4b6b495b2dc11fcc4687a282645382d.tar.bz2 |
Merge topic 'pch-force-include' into release-3.16
c5c218fa0d PCH: Append pch header file to list of forced include files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4135
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 5c0b881..53fc93c 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -2399,6 +2399,9 @@ void cmVisualStudio10TargetGenerator::OutputSourceSpecificFlags( clOptions.AppendFlag("DisableSpecificWarnings", "%(DisableSpecificWarnings)"); } + if (clOptions.HasFlag("ForcedIncludeFiles")) { + clOptions.AppendFlag("ForcedIncludeFiles", "%(ForcedIncludeFiles)"); + } if (configDependentDefines) { clOptions.AddDefines( genexInterpreter.Evaluate(configDefines, "COMPILE_DEFINITIONS")); |