revamp maintenance of base values (qmakespec+cache)

instantiate a complete evaluator instead of having just vars and
functions in the option object. that's cleaner.

Change-Id: I0ecd98307832ed072cebfd5b535572f7dcb103c1
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Oswald Buddenhagen
2012-06-08 18:46:10 +02:00
parent b7152d825d
commit 3ef41951c6
4 changed files with 21 additions and 23 deletions

View File

@@ -32,6 +32,7 @@
#include "qmakeglobals.h"
#include "qmakeevaluator.h"
#include "ioutils.h"
#include <QByteArray>
@@ -109,10 +110,12 @@ QMakeGlobals::QMakeGlobals()
#ifdef PROEVALUATOR_THREAD_SAFE
base_inProgress = false;
#endif
base_eval = 0;
}
QMakeGlobals::~QMakeGlobals()
{
delete base_eval;
}
void QMakeGlobals::setCommandLineArguments(const QStringList &args)