Unsolved Qmake CONFIG+=Debug didn't wokr for some sub directions
-
I created template=subdir pro(Main.pro), and in it , there are some other sub pro that I'd like to compile sequencely. Like
"
TEMPLATE = subdirsSUBDIRS =
../Lib1
../Lib2
../Lib3
../APP
CONFIG +=ordered
"
The Lib*.Pro is like following
"
QT -= guiTEMPLATE = lib
DEFINES += LIB_LIBRARY debug_and_releaseCONFIG += c++11
CONFIG(debug, debug|release) {
DESTDIR = $${PWD}/../build/usr/lib/Debug
} else {
DESTDIR = $${PWD}/../build/usr/lib/Release
"when I was using command line to compile the Main.pro,
1.qmake CONFIG+=Debug
2.makebut there is Lib3 that always been compiled to Release, anyone knows why can't all libs compiled to debug?
thanks