1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

*Corrected plugin lib dependencies for Vassilis

*Corrected some cross-platform issues

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@279 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
julien 2010-03-10 21:09:04 +00:00 committed by julien
parent 964c1e5983
commit ac93d532b7
11 changed files with 30 additions and 13 deletions

View File

@ -1,10 +1,10 @@
<plugin name="UAVObjects" version="0.0.1" compatVersion="1.1">
<plugin name="UAVObjects" version="0.0.1" compatVersion="0.0.1">
<vendor>The OpenPilot Project</vendor>
<copyright>(C) 2010 OpenPilot Project</copyright>
<license>Your License goes here</license>
<description>UAV telemetry objects</description>
<url>http://www.openpilot.org</url>
<dependencyList>
<dependency name="Core" version="1.1"/>
<dependency name="Core" version="1.0.0"/>
</dependencyList>
</plugin>
</plugin>

View File

@ -1,4 +1,4 @@
#include "UAVMetaObject.h"
#include "uavmetaobject.h"
UAVMetaObject::UAVMetaObject(quint32 objID, QString& name, Metadata& mdata, UAVObject* parent):
UAVObject(objID, 0, true, name, sizeof(Metadata))

View File

@ -1,7 +1,7 @@
#ifndef UAVMETAOBJECT_H
#define UAVMETAOBJECT_H
#include "UAVObject.h"
#include "uavobject.h"
class UAVMetaObject: public UAVObject
{

View File

@ -0,0 +1,3 @@
include(uavobjects_dependencies.pri)
LIBS *= -l$$qtLibraryTarget(UAVObjects)

View File

@ -1,7 +1,9 @@
TEMPLATE = lib
TARGET = UAVObjects
include(../../openpilotgcsplugin.pri)
include(../../plugins/coreplugin/coreplugin.pri)
include(uavobjects_dependencies.pri)
HEADERS += uavobject.h \
uavmetaobject.h \
uavobjectmanager.h \
@ -9,6 +11,7 @@ HEADERS += uavobject.h \
uavobjectfield.h \
uavobjectsinit.h \
uavobjectsplugin.h
SOURCES += uavobject.cpp \
uavmetaobject.cpp \
uavobjectmanager.cpp \
@ -16,4 +19,5 @@ SOURCES += uavobject.cpp \
uavobjectfield.cpp \
uavobjectsinit.cpp \
uavobjectsplugin.cpp
OTHER_FILES += uavobjects.pluginspec
OTHER_FILES += UAVObjects.pluginspec

View File

@ -0,0 +1,2 @@
include(../../plugins/coreplugin/coreplugin.pri)
include(../../libs/utils/utils.pri)

View File

@ -1,10 +1,11 @@
<plugin name="UAVTalk" version="0.0.1" compatVersion="1.1">
<plugin name="UAVTalk" version="0.0.1" compatVersion="0.0.1">
<vendor>The OpenPilot Project</vendor>
<copyright>(C) 2010 OpenPilot Project</copyright>
<license>Your License goes here</license>
<description>UAVTalk telemetry protocol</description>
<url>http://www.openpilot.org</url>
<dependencyList>
<dependency name="Core" version="1.1"/>
<dependency name="Core" version="1.0.0"/>
<dependency name="UAVObjects" version="0.0.1"/>
</dependencyList>
</plugin>
</plugin>

View File

@ -5,7 +5,7 @@
#include <QMutex>
#include <QMutexLocker>
#include <QSemaphore>
#include "uavobjects\uavobjectmanager.h"
#include "uavobjects/uavobjectmanager.h"
class UAVTalk: public QObject
{

View File

@ -0,0 +1,3 @@
include(uavtalk_dependencies.pri)
LIBS *= -l$$qtLibraryTarget(UAVTalk)

View File

@ -1,11 +1,12 @@
TEMPLATE = lib
TARGET = UAVTalk
include(../../openpilotgcsplugin.pri)
include(../../plugins/coreplugin/coreplugin.pri)
include(uavtalk_dependencies.pri)
HEADERS += uavtalk.h \
uavtalkplugin.h
SOURCES += uavtalk.cpp \
uavtalkplugin.cpp
HEADERS += telemetry.h
SOURCES += telemetry.cpp
OTHER_FILES += uavtalk.pluginspec
OTHER_FILES += UAVTalk.pluginspec

View File

@ -0,0 +1,3 @@
include(../../plugins/uavobjects/uavobjects.pri)
include(../../plugins/coreplugin/coreplugin.pri)
include(../../libs/utils/utils.pri)