Qt: Use different temporary file dirs for each project so that names do not conflict.

This commit is contained in:
Sacha 2013-11-05 12:17:34 +10:00
parent 296372262c
commit 747346b12d
2 changed files with 8 additions and 4 deletions

View file

@ -23,10 +23,8 @@ mobile_platform: MOBILITY += sensors
symbian: MOBILITY += systeminfo feedback
# PPSSPP Libs
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/release/
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/debug/
else:symbian: XT=".lib"
else:unix: LIBS += -L$$OUT_PWD
symbian: XT=".lib"
else: LIBS += -L$$CONFIG_DIR
LIBS += -lCore$${XT} -lCommon$${XT} -lNative$${XT}
# FFMPEG Path

View file

@ -2,6 +2,12 @@ DEFINES += USING_QT_UI USE_FFMPEG
unix:!qnx:!symbian:!macx: CONFIG += linux
# Global specific
win32:CONFIG(release, debug|release): CONFIG_DIR = $$join(OUT_PWD,,,/release)
else:win32:CONFIG(debug, debug|release): CONFIG_DIR = $$join(OUT_PWD,,,/debug)
else:CONFIG_DIR=$$OUT_PWD
OBJECTS_DIR = $$CONFIG_DIR/.obj/$$TARGET
MOC_DIR = $$CONFIG_DIR/.moc/$$TARGET
UI_DIR = $$CONFIG_DIR/.ui/$$TARGET
INCLUDEPATH += ../ext/zlib ../native/ext/glew ../Common
win32-msvc* {