Commit 1304c087 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

don't LoadPostFiles in build_pass reader



the two functions which use its output don't need any of the processing
done by default_post and later prf files.

Change-Id: I160a5c2762071d5dc97ed195889196b83d8e2204
Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
parent 779f38bd
...@@ -1879,7 +1879,7 @@ EvalResult *QmakeProFileNode::evaluate(const EvalInput &input) ...@@ -1879,7 +1879,7 @@ EvalResult *QmakeProFileNode::evaluate(const EvalInput &input)
EvalResult::EvalResultState evalResultBuildPass = EvalResult::EvalOk; EvalResult::EvalResultState evalResultBuildPass = EvalResult::EvalOk;
if (ProFile *pro = readerBuildPass->parsedProFile(input.projectFilePath)) { if (ProFile *pro = readerBuildPass->parsedProFile(input.projectFilePath)) {
if (!readerBuildPass->accept(pro, QMakeEvaluator::LoadAll)) if (!readerBuildPass->accept(pro, QMakeEvaluator::LoadPreFiles))
evalResultBuildPass = EvalResult::EvalPartial; evalResultBuildPass = EvalResult::EvalPartial;
pro->deref(); pro->deref();
} else { } else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment