Add the custom build step for PCH generated through source
This fixes a regression introduced by
04d3a89e20
as it left out the custom build
step for the source code file generated for PCH.
Task-number: QTBUG-42596
Change-Id: I53d5a36b842dcffbde2657910e6a96dca0e99c7b
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
parent
74ae86a660
commit
5c58db516a
@ -1915,10 +1915,10 @@ bool VCXProjectWriter::outputFileConfig(OutputFilterData *d, XmlOutput &xml, Xml
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Actual XML output ----------------------------------
|
// Actual XML output ----------------------------------
|
||||||
if (hasCustomBuildStep || filter.useCompilerTool
|
if (hasCustomBuildStep || filter.useCustomBuildTool || filter.useCompilerTool
|
||||||
|| !d->inBuild || filter.Name.startsWith("Deployment Files")) {
|
|| !d->inBuild || filter.Name.startsWith("Deployment Files")) {
|
||||||
|
|
||||||
if (hasCustomBuildStep)
|
if (hasCustomBuildStep || filter.useCustomBuildTool)
|
||||||
{
|
{
|
||||||
if (!fileAdded) {
|
if (!fileAdded) {
|
||||||
fileAdded = true;
|
fileAdded = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user