FEM: include header with export macros
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user