Add missing exports for ifcopenshell-python when we build shared libs.

This commit is contained in:
Adrien SCHVALBERG
2022-05-03 11:38:12 +02:00
committed by Thomas Krijnen
parent 7e28d193ec
commit 42448cae4e
11 changed files with 59 additions and 11 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
#define SCHEMA_METHOD
#include "../serializers/serializers_api.h"
#include "../ifcgeom_schema_agnostic/Serializer.h"
#include "../ifcparse/IfcFile.h"
@@ -7,7 +8,7 @@
#include <map>
class XmlSerializer : public Serializer {
class SERIALIZERS_API XmlSerializer : public Serializer {
private:
XmlSerializer* implementation_;
@@ -26,7 +27,7 @@ public:
void setFile(IfcParse::IfcFile*) { throw IfcParse::IfcException("Should be supplied on construction"); }
};
struct XmlSerializerFactory {
struct SERIALIZERS_API XmlSerializerFactory {
typedef boost::function2<XmlSerializer*, IfcParse::IfcFile*, std::string> fn;
class Factory : public std::map<std::string, fn> {