forked from qt-creator/qt-creator
Fixed the build system. Generate the object files for release and debug builds in different directories.
This commit is contained in:
@@ -39,3 +39,14 @@ DEPENDPATH += \
|
||||
$$IDE_SOURCE_TREE/tools \
|
||||
|
||||
LIBS += -L$$IDE_LIBRARY_PATH
|
||||
|
||||
unix {
|
||||
debug:OBJECTS_DIR = $${OUT_PWD}/.obj/debug-shared
|
||||
release:OBJECTS_DIR = $${OUT_PWD}/.obj/release-shared
|
||||
|
||||
debug:MOC_DIR = $${OUT_PWD}/.moc/debug-shared
|
||||
release:MOC_DIR = $${OUT_PWD}/.moc/release-shared
|
||||
|
||||
RCC_DIR = $${OUT_PWD}/.rcc/
|
||||
UI_DIR = $${OUT_PWD}/.uic/
|
||||
}
|
||||
|
||||
@@ -47,11 +47,4 @@ macx {
|
||||
}
|
||||
|
||||
|
||||
unix {
|
||||
OBJECTS_DIR = $${OUT_PWD}/.obj/
|
||||
MOC_DIR = $${OUT_PWD}/.moc/
|
||||
RCC_DIR = $${OUT_PWD}/.rcc/
|
||||
UI_DIR = $${OUT_PWD}/.uic/
|
||||
}
|
||||
|
||||
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
|
||||
|
||||
Reference in New Issue
Block a user