Refactored CMakeLists.txt

* new pip_module() macro
 * fixed exports
 * automatic gather all exports and pass them to Doxygen and PICodeParser
This commit is contained in:
2020-08-01 21:29:32 +03:00
parent 21111b3e67
commit c7ac4fa551
79 changed files with 389 additions and 531 deletions

View File

@@ -44,7 +44,7 @@ public:
PIVector<TypeInfo> getInfo() const;
#pragma pack(push, 1)
struct _Type {
struct PIP_EXPORT _Type {
_Type();
uint id;
uint count;
@@ -54,7 +54,7 @@ public:
};
#pragma pack(pop)
struct TypeInfo: _Type {
struct PIP_EXPORT TypeInfo: _Type {
PIString name;
};
@@ -63,7 +63,7 @@ public:
mutable PIMutex mutex;
};
PIByteArray & operator <<(PIByteArray & s, const PIIntrospectionContainers::TypeInfo & v);
PIByteArray & operator >>(PIByteArray & s, PIIntrospectionContainers::TypeInfo & v);
PIP_EXPORT PIByteArray & operator <<(PIByteArray & s, const PIIntrospectionContainers::TypeInfo & v);
PIP_EXPORT PIByteArray & operator >>(PIByteArray & s, PIIntrospectionContainers::TypeInfo & v);
#endif // PIINTROSPECTION_CONTAINERS_P_H