D14569: Make it possible for ECM to detect po files at configure time
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Thu Aug 2 23:47:11 BST 2018
apol created this revision.
apol added a reviewer: Frameworks.
Restricted Application added projects: Frameworks, Build System.
Restricted Application added subscribers: kde-buildsystem, kde-frameworks-devel.
apol requested review of this revision.
REVISION SUMMARY
ECMPoQmTools will need to have the translations downloaded at configure time instead of on build time, otherwise it needs an awkward second configure.
To that end we introduce a KDE_L10N_SYNC_TRANSLATIONS variable that allows it to do so.
ECMPoTools will download the translations in the build directory, because cmake shouldn't touch the sources. Have it check the build directory too when the macro is called.
TEST PLAN
Built analitza translations.
REPOSITORY
R240 Extra CMake Modules
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D14569
AFFECTED FILES
kde-modules/KDECMakeSettings.cmake
modules/ECMPoQmTools.cmake
To: apol, #frameworks
Cc: kde-frameworks-devel, kde-buildsystem, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20180802/1e6c3d4c/attachment.html>
More information about the Kde-buildsystem
mailing list