GSoC/GCI Archive
Google Code-in 2013 KDE

Generate and use export header for libkwineffects

completed by: Jacob Logan

mentors: Martin Gräßlin

The kwineffects library is currently using the old and deprecated KDE_EXPORT macro. An own export header for libkwineffects should be generated in CMake and used for the exports in this library. To complete this task a build environment of kde-workspace master branch is needed. This can be time consuming, ensure to have a setup before starting working on this task. Documentation on the build process is available in - this will also build kde-workspace. For some distributions there are development packages available. For example for Kubuntu there is project neon5: With such a setup one only needs to build kde-workspace.


The export header can be generated in the CMakeLists.txt with



Please see the usages in kdelibs-frameworks (e.g. tier1/kwindowsystem/src) on how to use it in the CMakeLists.txt and .h files.