Review Request 128161: Make epoxy optional instead of just hacking it out for Windows

Martin Gräßlin mgraesslin at kde.org
Mon Jun 13 07:30:30 UTC 2016



> On June 13, 2016, 7:39 a.m., Martin Gräßlin wrote:
> > CMakeLists.txt, lines 76-78
> > <https://git.reviewboard.kde.org/r/128161/diff/1/?file=468328#file468328line76>
> >
> >     instead of adding a definition could you make it a configure file?
> 
> Christoph Cullmann wrote:
>     Sure, is that the prefered way? I thought adding a definition is much nicer, as you don't need to care if people forget to include the config...h inside some file and you miss the defines then.

With the config.h one can easily see which build defines are set. With the defines added as command line switches one has no chance. In addition kdevelop knows what is defined, so improves parsing of the code.


- Martin


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


On June 12, 2016, 6:55 p.m., Christoph Cullmann wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128161/
> -----------------------------------------------------------
> 
> (Updated June 12, 2016, 6:55 p.m.)
> 
> 
> Review request for KDE Frameworks and Marco Martin.
> 
> 
> Repository: kdeclarative
> 
> 
> Description
> -------
> 
> Make epoxy optional instead of just hacking it out for Windows
> 
> This allows to compile this framework e.g. on a Mac without epoxy, too, and is IMHO saner than just disabling it for Windows.
> 
> 
> Diffs
> -----
> 
>   CMakeLists.txt 42302da 
>   src/qmlcontrols/kquickcontrolsaddons/CMakeLists.txt 49427aa 
>   src/qmlcontrols/kquickcontrolsaddons/kquickcontrolsaddonsplugin.cpp fc9d0af 
> 
> Diff: https://git.reviewboard.kde.org/r/128161/diff/
> 
> 
> Testing
> -------
> 
> Tried it on my mac, now compiles. I have no Linux here ATM, perhaps somebody can try if it really still works with epoxy around.
> 
> 
> Thanks,
> 
> Christoph Cullmann
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160613/1e8b0919/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list