Review Request 115336: Change syntax of kservice_desktop_to_json

Aurélien Gâteau agateau at kde.org
Mon Feb 3 12:29:04 UTC 2014


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

(Updated Feb. 3, 2014, 12:29 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks.


Repository: kservice


Description
-------

This makes kservice_desktop_to_json take advantage of new features in CMake 3.0 which makes it possible to generate the .json file at build time rather than configure time. This requires the user to pass the target which depends on the .json file as first argument.

The old syntax is still supported, but deprecated.


Diffs
-----

  tests/kservicetojsontest/CMakeLists.txt 7f866e4 
  KF5ServiceMacros.cmake 694b899 

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


Testing
-------

Tested with cmake master as well as cmake 2.8.12. Rebuilt kde-workspace with half of the calls to kservice_desktop_to_json using the new syntax and the rest using the old one.


Thanks,

Aurélien Gâteau

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140203/5ce7270c/attachment.html>


More information about the Kde-frameworks-devel mailing list