Fixed the build system. Generate the object files for release and debug builds in different directories.

This commit is contained in:
Roberto Raggi
2008-12-03 10:27:12 +01:00
parent 0d40f8a944
commit b825ac4355
2 changed files with 11 additions and 7 deletions
+11
View File
@@ -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/
}
-7
View File
@@ -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