Refactoring RTABMapConfig.cmake with targets (#904)

* Config: Using cmake targets

* fixed RTABMAP_DEPRECATED build error

* fixed melodic build

* cleanup

* Fixed qhull exported library error

* Update svg depend private

* removed g2o from public interface

* Fixed Windows with external project

* removed some required dep

* Fixed nsis error (also fixed unspecified components)

* updated workflow rules
This commit is contained in:
matlabbe
2023-02-12 16:18:01 -08:00
committed by GitHub
parent 437ed09335
commit 89e3e10d89
191 changed files with 1150 additions and 2199 deletions
+2 -2
View File
@@ -8,12 +8,12 @@
#ifndef IMAGEVIEW_H_
#define IMAGEVIEW_H_
#include "rtabmap/gui/RtabmapGuiExp.h" // DLL export/import defines
#include "rtabmap/gui/rtabmap_gui_export.h" // DLL export/import defines
#include <QWidget>
#include <QtGui/QPainter>
class RTABMAPGUI_EXP UImageView : public QWidget
class RTABMAP_GUI_EXPORT UImageView : public QWidget
{
Q_OBJECT;
public:
+9 -9
View File
@@ -20,7 +20,7 @@
#ifndef UPLOT_H_
#define UPLOT_H_
#include "rtabmap/gui/RtabmapGuiExp.h" // DLL export/import defines
#include "rtabmap/gui/rtabmap_gui_export.h" // DLL export/import defines
#include <QFrame>
#include <QtCore/QList>
@@ -43,7 +43,7 @@ class QScrollArea;
* UPlotItem is a QGraphicsEllipseItem and can be inherited to do custom behaviors
* on an hoverEnterEvent() for example.
*/
class RTABMAPGUI_EXP UPlotItem : public QGraphicsEllipseItem
class RTABMAP_GUI_EXPORT UPlotItem : public QGraphicsEllipseItem
{
public:
/**
@@ -89,7 +89,7 @@ class UPlot;
/**
* UPlotCurve is a curve used to hold data shown in a UPlot.
*/
class RTABMAPGUI_EXP UPlotCurve : public QObject
class RTABMAP_GUI_EXPORT UPlotCurve : public QObject
{
Q_OBJECT
@@ -259,7 +259,7 @@ private:
/**
* A special UPlotCurve that shows as a line at the specified value, spanning all the UPlot.
*/
class RTABMAPGUI_EXP UPlotCurveThreshold : public UPlotCurve
class RTABMAP_GUI_EXPORT UPlotCurveThreshold : public UPlotCurve
{
Q_OBJECT
@@ -292,7 +292,7 @@ private:
/**
* The UPlot axis object.
*/
class RTABMAPGUI_EXP UPlotAxis : public QWidget
class RTABMAP_GUI_EXPORT UPlotAxis : public QWidget
{
public:
/**
@@ -342,7 +342,7 @@ private:
/**
* The UPlot legend item. Used internally by UPlot.
*/
class RTABMAPGUI_EXP UPlotLegendItem : public QPushButton
class RTABMAP_GUI_EXPORT UPlotLegendItem : public QPushButton
{
Q_OBJECT
@@ -383,7 +383,7 @@ private:
/**
* The UPlot legend. Used internally by UPlot.
*/
class RTABMAPGUI_EXP UPlotLegend : public QWidget
class RTABMAP_GUI_EXPORT UPlotLegend : public QWidget
{
Q_OBJECT
@@ -430,7 +430,7 @@ private:
/**
* Orientable QLabel. Inherit QLabel and let you to specify the orientation.
*/
class RTABMAPGUI_EXP UOrientableLabel : public QLabel
class RTABMAP_GUI_EXPORT UOrientableLabel : public QLabel
{
Q_OBJECT
@@ -486,7 +486,7 @@ private:
*
*
*/
class RTABMAPGUI_EXP UPlot : public QWidget
class RTABMAP_GUI_EXPORT UPlot : public QWidget
{
Q_OBJECT