complain about empty $$TARGET

this should be fatal, but so should be a lot of other conditions.

Change-Id: I0c2c0bb9590ea1e4d0eae76e29eda34915914217
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Oswald Buddenhagen 2012-11-09 19:04:28 +01:00 committed by The Qt Project
parent c3637ce66b
commit ced111c74f

View File

@ -437,6 +437,9 @@ MakefileGenerator::init()
ProValueMap &v = project->variables();
if (v["TARGET"].isEmpty())
warn_msg(WarnLogic, "TARGET is empty");
chkdir = v["QMAKE_CHK_DIR_EXISTS"].join(' ');
chkfile = v["QMAKE_CHK_FILE_EXISTS"].join(' ');
if (chkfile.isEmpty()) // Backwards compat with Qt4 specs