GenerateExportHeader and clang

Ivan Čukić ivan.cukic at kde.org
Sun May 18 16:50:36 UTC 2014


Hi,

When compiling libraries that use GenerateExportHeader with clang 3.5.0, I'm 
getting a library without any methods exported.

I'm using the same CMake invocation is as kdesrc-build does, only with
 -DCMAKE_CXX_COMPILER=/usr/local/bin/clang++ \
 -DCMAKE_C_COMPILER=/usr/local/bin/clang

GenerateExportHeader sets all macros to empty strings.

I've tested with a few different frameworks. Can anyone confirm this?

Cheerio,
Ivan


More information about the Kde-frameworks-devel mailing list