[SOLVED]QMAKE - debug/release directory
-
Well, I have this code in QMAKE:
@
_BIN_DIR = $${PWD}/bin_BIN_DEBUG_DIR = $${_BIN_DIR}/debug
_BIN_RELEASE_DIR = $${_BIN_DIR}/release
CONFIG(debug) {
_OUTPUT_DIR = _BIN_DEBUG_DIR
}
CONFIG(release) {
_OUTPUT_DIR = _BIN_RELEASE_DIR
}
@When I build project in Debug mode, it works (create files) in Release directory... How to repair it, to make it working correctly...
-
Thank you too. It works. But my question is : why not use just the "DESTDIR" ?
It works just the same too.
here for qmake documentation : http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#destdir