Review Request 114908: Use add_definitions directly, instead of via _KDE4_PLATFORM_DEFINITIONS

Alex Merry kde at randomguy3.me.uk
Sun Jan 19 13:21:37 UTC 2014


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

(Updated Jan. 19, 2014, 1:21 p.m.)


Review request for Build System, Extra Cmake Modules and KDE Frameworks.


Changes
-------

Add extracmakemodules group.


Repository: extra-cmake-modules


Description
-------

Use add_definitions directly, instead of via _KDE4_PLATFORM_DEFINITIONS

Setting the variable just leads to set() calls overwriting each other
accidentally (as appeared to have happened in the WIN32 block).


Diffs
-----

  kde-modules/KDECompilerSettings.cmake 6adbc069bf314ae1a462ffbc5abe25264dac0ac2 

Diff: https://git.reviewboard.kde.org/r/114908/diff/


Testing
-------

KCoreAddons still compiles, and "make VERBOSE=1" shows that it is setting -D_BSD_SOURCE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500, as expected.


Thanks,

Alex Merry

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


More information about the Kde-frameworks-devel mailing list