FEM: include header with export macros

This commit is contained in:
wmayer
2022-03-24 20:47:56 +01:00
parent 48c6777d82
commit 076501b73b
3 changed files with 0 additions and 31 deletions

View File

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

View File

@@ -20,11 +20,6 @@
* *
***************************************************************************/
// this file contains the export macros for the App and Gui module
// for Qt Designer, see e.g.
// https://forum.freecadweb.org/viewtopic.php?p=558050#p558050
// why this is necessary
#include <FCGlobal.h>
#ifndef FEM_GLOBAL_H

View File

@@ -26,19 +26,6 @@
#include <FCConfig.h>
// Importing of App classes
#ifdef FC_OS_WIN32
# define AppFemExport __declspec(dllimport)
# define FemExport __declspec(dllimport)
# define PartExport __declspec(dllimport)
# define FemGuiExport __declspec(dllexport)
#else // for Linux
# define PartExport
# define AppFemExport
# define FemExport
# define FemGuiExport
#endif
#ifdef _MSC_VER
# pragma warning(disable : 4005)
# pragma warning(disable : 4290)