qmake: Don't create OBJECTS_DIR and friends for TEMPLATE = subdirs

A bunch of empty and never-to-be-used directories makes the build tree
noisy and harder to navigate.

Change-Id: Iebef91c82d58a8d6a0047fb5439d50eb6806f557
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Tor Arne Vestbø 2013-09-19 10:24:20 +02:00 committed by The Qt Project
parent e582d742cc
commit 8aefa4dc46

View File

@ -234,7 +234,7 @@ MakefileGenerator::initOutPaths()
pathRef += Option::dir_sep; pathRef += Option::dir_sep;
} }
if(noIO()) if (noIO() || (project->first("TEMPLATE") == "subdirs"))
continue; continue;
QString path = project->first(dkey).toQString(); //not to be changed any further QString path = project->first(dkey).toQString(); //not to be changed any further