调整输出地址

This commit is contained in:
hm
2021-05-15 17:36:33 +08:00
parent a51b447d05
commit 092aabd914
11 changed files with 88 additions and 105 deletions
+10 -10
View File
@@ -44,7 +44,7 @@ DEFINES += QT_DEPRECATED_WARNINGS
#include (./ParameterInspector/ParameterInspector.pri)
#include (./MAVLinkInspector/MAVLinkInspector.pri)
DESTDIR = $$PWD/../thirdpart/lib
DESTDIR = $$PWD/../bin
MOC_DIR = $$PWD/../build
OBJECTS_DIR = $$PWD/../build
@@ -76,18 +76,18 @@ SOURCES += \
sbusparser.cpp \
statusprocess.cpp
INCLUDEPATH += $$PWD/../thirdpart/include
INCLUDEPATH += $$DESTDIR/include
# Capture whether this is a release/debug build.
CONFIG(debug, debug|release) {
LIBS += -L$$PWD/../thirdpart/lib -lcored
LIBS += -L$$PWD/../thirdpart/lib -linternalsd
LIBS += -L$$PWD/../thirdpart/lib -lopmapwidgetd
LIBS += -L$$DESTDIR -lcored
LIBS += -L$$DESTDIR -linternalsd
LIBS += -L$$DESTDIR -lopmapwidgetd
}
CONFIG(release, debug|release) {
LIBS += -L$$PWD/../thirdpart/lib -lcore
LIBS += -L$$PWD/../thirdpart/lib -linternals
LIBS += -L$$PWD/../thirdpart/lib -lopmapwidget
LIBS += -L$$DESTDIR -lcore
LIBS += -L$$DESTDIR -linternals
LIBS += -L$$DESTDIR -lopmapwidget
}
@@ -109,7 +109,7 @@ INCLUDEPATH += $$PWD/../mavlink \
win32|win64 {
src_dir = $$PWD\\*.h
dst_dir = $$PWD\\..\\thirdpart\\include\\
dst_dir = $$PWD\\..\\bin\\include\\
# dst_dir 最后的 \\ 是必须的,用来标示 xcopy 到一个文件夹,若不存在,创建之
# Replace slashes in paths with backslashes for Windows
@@ -123,7 +123,7 @@ win32|win64 {
unix {
src_dir = $$PWD/*.h
dst_dir = $$PWD/../thirdpart/include/
dst_dir = $$PWD/../bin/include/
!exists($$dst_dir): system(mkdir -p $$dst_dir)