We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cedd783 commit 5292f45Copy full SHA for 5292f45
StructLayout/Editor/Extractors/ExtractorVisualStudio.cs
@@ -109,6 +109,12 @@ private void AppendProjectProperties(ProjectProperties properties, VCCLCompilerT
109
AppendMSBuildStringToList(properties.IncludeDirectories, evaluator.Evaluate(cl.FullIncludePath));
110
AppendMSBuildStringToList(properties.ForceIncludes, evaluator.Evaluate(cl.ForcedIncludeFiles));
111
AppendMSBuildStringToList(properties.PrepocessorDefinitions, evaluator.Evaluate(cl.PreprocessorDefinitions));
112
+
113
+ //PCH
114
+ if (cl.UsePrecompiledHeader != pchOption.pchNone)
115
+ {
116
+ AppendMSBuildStringToList(properties.ForceIncludes, evaluator.Evaluate(cl.PrecompiledHeaderThrough));
117
+ }
118
}
119
else if (nmake != null)
120
{
0 commit comments