调整输出地址
This commit is contained in:
+10
-10
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user