Inspection: include header with export macros

This commit is contained in:
wmayer
2022-03-24 20:45:03 +01:00
parent ccaa862389
commit d16ce3759f
3 changed files with 1 additions and 26 deletions

View File

@@ -27,6 +27,7 @@
#include <App/DocumentObjectGroup.h>
#include <Mod/Points/App/Points.h>
#include <Mod/Inspection/InspectionGlobal.h>
class TopoDS_Shape;

View File

@@ -26,19 +26,6 @@
#include <FCConfig.h>
// Exporting of App classes
#ifdef FC_OS_WIN32
# define InspectionExport __declspec(dllexport)
# define MeshExport __declspec(dllimport)
# define PointsExport __declspec(dllimport)
# define PartExport __declspec(dllimport)
#else // for Linux
# define InspectionExport
# define MeshExport
# define PointsExport
# define PartExport
#endif
#ifdef _MSC_VER
# pragma warning(disable : 4290)
# pragma warning(disable : 4275)

View File

@@ -26,19 +26,6 @@
#include <FCConfig.h>
// Importing of App classes
#ifdef FC_OS_WIN32
# define MeshExport __declspec(dllimport)
# define PointsExport __declspec(dllimport)
# define InspectionExport __declspec(dllimport)
# define InspectionGuiExport __declspec(dllexport)
#else // for Linux
# define MeshExport
# define PointsExport
# define InspectionExport
# define InspectionGuiExport
#endif
#ifdef FC_OS_WIN32
# ifndef NOMINMAX
# define NOMINMAX