Fix compilation issues on Windows

Authored by sdepiets on Oct 10 2018, 2:12 PM.

Description

Fix compilation issues on Windows

Summary:
The linkage doesn't work currently on Windows because lib/test and backend/python libraries are using the same export flag than the lib/.

I have replaced the cantor_export.h flat file by calls to generate_export_header (via CMake) and put differentiated CANTOR_EXPORT/CANTOR_PYTHONBACKEND_EXPORT precompiler directives depending on the library being built.

Reviewers: Cantor, pino, asemke, sirgienko

Reviewed By: Cantor, pino, asemke, sirgienko

Subscribers: asemke, pino, sirgienko, kde-edu

Tags: KDE Edu

Differential Revision: https://phabricator.kde.org/D16039

Details

Committed
sdepietsOct 10 2018, 2:13 PM
Reviewer
Cantor
Differential Revision
D16039: Fix compilation issues on Windows
Parents
R55:b9b519353de2: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown