diff --git a/Qt/PPSSPP.pro b/Qt/PPSSPP.pro index 4da42e52b3..da9917581c 100755 --- a/Qt/PPSSPP.pro +++ b/Qt/PPSSPP.pro @@ -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 diff --git a/Qt/Settings.pri b/Qt/Settings.pri index f6efe61d84..ee7ffdfcdf 100644 --- a/Qt/Settings.pri +++ b/Qt/Settings.pri @@ -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* {