merge hm_work

This commit is contained in:
hm
2020-02-28 11:43:11 +08:00
176 changed files with 18677 additions and 1244 deletions
+27 -4
View File
@@ -15,6 +15,10 @@ TEMPLATE = lib
DEFINES += MAV_LIBRARY
CONFIG += resources_big
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
@@ -45,7 +49,27 @@ SOURCES += \
win32 {
#添加mavlink目录
INCLUDEPATH += $$PWD/../mavlink \
$$PWD/../mavlink/ardupilotmega \
$$PWD/../mavlink/common \
$$PWD/../mavlink/icarous \
$$PWD/../mavlink/uAvionix \
$$PWD/../mavlink/XYK \
$$PWD/../mavlink/message_definitions
HEADERS += \
mavlinknode.h \ \
mavlinknodeglobal.h
SOURCES += \
mavlinknode.cpp
win32|win64 {
src_dir = $$PWD\\*.h
dst_dir = $$PWD\\..\\thirdpart\\include\\
# dst_dir 最后的 \\ 是必须的,用来标示 xcopy 到一个文件夹,若不存在,创建之
@@ -55,8 +79,10 @@ win32 {
dst_dir ~= s,/,\\,g
system(xcopy $$src_dir $$dst_dir /y /e)
}
unix {
src_dir = $$PWD/*.h
dst_dir = $$PWD/../thirdpart/include/
@@ -80,6 +106,3 @@ unix {