Review Request 121083: Replace manual export files with CMake's generate_export_header

Thomas L├╝bking thomas.luebking-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sat Nov 22 14:46:23 GMT 2014



> On Nov. 22, 2014, 12:18 vorm., Harald Sitter wrote:
> > This breaks the kde4 build as ECM is not being used there and generate_export_header is not available without ECM.
> 
> Andrius da Costa Ribas wrote:
>     generate_export_header isn't in ECM, but in cmake itself (http://www.cmake.org/cmake/help/v3.0/module/GenerateExportHeader.html). Does kde4 required cmake version not support it? Should I revert this commit?
> 
> Harald Sitter wrote:
>     Ah, I was not aware of that. So the solution probably is to move the include(GenerateExportheader) line outside the if-else for kf5/kde4
> 
> Albert Astals Cid wrote:
>     Andrius: kdelibs4 has to work on cmake 2.8.9, when was that introduced?
> 
> Harald Sitter wrote:
>     If kubuntu packaging can be trusted it was there before that (e.g. was already in 2.8.7)

http://www.cmake.org/cmake/help/v2.8.9/cmake.html#module:GenerateExportHeader


- Thomas


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121083/#review70761
-----------------------------------------------------------


On Nov. 21, 2014, 10:47 nachm., Andrius da Costa Ribas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121083/
> -----------------------------------------------------------
> 
> (Updated Nov. 21, 2014, 10:47 nachm.)
> 
> 
> Review request for kde-workspace and kdewin.
> 
> 
> Repository: oxygen
> 
> 
> Description
> -------
> 
> These files currently use  
> 
> ```
> __attribute__((visibility("...")))
> ```
> 
> which doesn't work on MSVC.
> 
> 
> Diffs
> -----
> 
>   liboxygen/oxygen_config_export.h 02ea29d 
>   liboxygen/oxygen_export.h b8877a0 
>   liboxygen/CMakeLists.txt 69b7bd2 
> 
> Diff: https://git.reviewboard.kde.org/r/121083/diff/
> 
> 
> Testing
> -------
> 
> Builds with msvc 2013 64bit
> 
> 
> Thanks,
> 
> Andrius da Costa Ribas
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20141122/2aa11ad5/attachment.htm>
-------------- next part --------------
_______________________________________________
Kde-windows mailing list
Kde-windows-RoXCvvDuEio at public.gmane.org
https://mail.kde.org/mailman/listinfo/kde-windows


More information about the kde-core-devel mailing list