QmakePriFile::update: Don't call buildDir() all the time.
Instead call it once per .pro file and pass that to all .pri file parses and other functions. This cuts down the number of calls for opening qtproject.pro from ~3000 to ~700 and speeds up opening qtproject.pro by roughly 3%. Change-Id: Iffd46d4bbedc9c380f70e916dae7151495990b39 Reviewed-by: Tobias Hunger <firstname.lastname@example.org>
Showing with 35 additions and 32 deletions