GPDS | A general purpose data serializer
kandi X-RAY | GPDS Summary
kandi X-RAY | GPDS Summary
GPDS is a General Purpose Data Serializer implemented as a very small C++ library. It allows to serialize C++ classes to and from XML files in a generic format that can be processed by other XML processing software (or just for the sake of readability).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of GPDS
GPDS Key Features
GPDS Examples and Code Snippets
class Color {
public:
std::string name;
int red;
int blue;
int green;
};
Black
0
0
0
0
0
0
Community Discussions
Trending Discussions on GPDS
QUESTION
I use cmake to build an open-source library.
The project is setup to do the following:
- Build a cmake
OBJECT
library namedgpds-objs
- Build a
STATIC
library namedgpds-static
fromgpds-objs
- Build a
SHARED
library namedgpds-shared
fromgpds-objs
Furthermore, I'm using cmake's generate_export_header()
to generate the necessary export macros.
The relevant parts of the cmake script looks like this:
...ANSWER
Answered 2021-May-14 at 14:50You cannot use the same OBJECT library both for shared and static libraries.
An OBJECT library determines how the source files should be compiled. But source files should be compiled differently for a static and for a shared libraries.
Documentation for GenerateExportHeader describes, how the same generated header file could be used for static and shared libraries:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install GPDS
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page