Subdirs project variable
-
Hi,
I want to pass this config to every project of my subdirs project:win32-msvc* { QMAKE_LFLAGS_RELEASE += /MAP QMAKE_CFLAGS_RELEASE += /Zi QMAKE_LFLAGS_RELEASE += /debug /opt:ref }If I place it to the root project, it has no impact. Is there a way to do it better than copying this config to every project?
-
Hi,
IIRC, you can put a file name
.qmake.confin the folder containing yourSUBDIRStemplate and its content will be parsed when building all the project underneath.This file is search in the current project folder as well as its parent folder.