summaryrefslogtreecommitdiffstats
path: root/qmake/generators/makefile.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2012-11-09 19:04:28 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-13 18:51:15 +0100
commitced111c74fdc7e17c68bdc10da87cec88c98e8af (patch)
tree6a6c25b945cecc331f6cbd749ee7395565961c45 /qmake/generators/makefile.cpp
parentc3637ce66b240e0ca39efc9e97b4605edd4ec7ef (diff)
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>
Diffstat (limited to 'qmake/generators/makefile.cpp')
-rw-r--r--qmake/generators/makefile.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index ad1d319835..d6e5eb8898 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -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