调整Qt工程输出路径。

pull/175/head^2
Apex Liu 2019-11-16 01:27:37 +08:00
parent b8c6bbcbb1
commit 50b6eddb36
2 changed files with 13 additions and 14 deletions

8
.gitignore vendored
View File

@ -104,12 +104,4 @@ profile
/server/tp_core/testssh/Debug
/server/tp_core/testssh/Release
/client/build-tp-player-*
/client/tp-player/debug
/client/tp-player/release
/external/zlib
/client/tp-player/.qmake.stash
/client/tp-player/Makefile
/client/tp-player/Makefile.Debug
/client/tp-player/Makefile.Release
/client/tp-player/ui_mainwindow.h

View File

@ -38,15 +38,22 @@ RC_FILE += \
FORMS += \
mainwindow.ui
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../external/zlib/build/release/ -lzlibstatic
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../external/zlib/build/debug/ -lzlibstaticd
win32:CONFIG(release, debug|release): {
LIBS += -L$$PWD/../../external/zlib/build/release/ -lzlibstatic
DESTDIR = $$PWD/../../out/client/x86/Release/tools/player
}
else:win32:CONFIG(debug, debug|release): {
LIBS += -L$$PWD/../../external/zlib/build/debug/ -lzlibstaticd
DESTDIR = $$PWD/../../out/client/x86/Debug/tools/player
}
INCLUDEPATH += $$PWD/../../external/zlib
INCLUDEPATH += $$PWD/../../external/zlib/build
DEPENDPATH += $$PWD/../../external/zlib
DEPENDPATH += $$PWD/../../external/zlib/build
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../../external/zlib/build/release/libzlibstatic.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../../external/zlib/build/debug/libzlibstaticd.a
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../../external/zlib/build/release/zlibstatic.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../../external/zlib/build/debug/zlibstaticd.lib
#win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../../external/zlib/build/release/libzlibstatic.a
#else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../../external/zlib/build/debug/libzlibstaticd.a
#else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../../external/zlib/build/release/zlibstatic.lib
#else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../../external/zlib/build/debug/zlibstaticd.lib