Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

How to separate release and debug builds?

$
0
0
Hi I would like to put binaries of release and debug build in different folders beside source code. in .pro file: CONFIG(debug){     DESTDIR = ./debug     OBJECTS_DIR = debug/.obj     MOC_DIR = debug/.moc     RCC_DIR = debug/.rcc     UI_DIR = debug/.ui }   CONFIG(release){     DESTDIR = ./release     OBJECTS_DIR = release/.obj     MOC_DIR = release/.moc     RCC_DIR = release/.rcc     UI_DIR = release/.ui } For release builds everything is good. I have a ./release directory in root of project. But for debug build, qmake don’t create a debug directory but it’s name is release (again!): qmake CONFIG+=debug CONFIG+=local // generates release and put everything in that directory

Viewing all articles
Browse latest Browse all 18427

Trending Articles