read spec_pre and spec_post features
these are read before the qmakespec and before the cache, resp. this will allow moving some hard-wired logic out of qmake. Change-Id: I6a63050d7798bc30a4add8c009bcd801a29a0deb Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
parent
88b4ee22c9
commit
777fa561ab
@ -1479,6 +1479,7 @@ QMakeProject::read(uchar cmd)
|
||||
}
|
||||
|
||||
// parse qmake configuration
|
||||
doProjectInclude("spec_pre", IncludeFlagFeature, vars);
|
||||
while(qmakespec.endsWith(QLatin1Char('/')))
|
||||
qmakespec.truncate(qmakespec.length()-1);
|
||||
QString spec = qmakespec + QLatin1String("/qmake.conf");
|
||||
@ -1487,6 +1488,7 @@ QMakeProject::read(uchar cmd)
|
||||
fprintf(stderr, "Failure to read QMAKESPEC conf file %s.\n", spec.toLatin1().constData());
|
||||
return false;
|
||||
}
|
||||
doProjectInclude("spec_post", IncludeFlagFeature, vars);
|
||||
validateModes();
|
||||
|
||||
if (!conffile.isEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user