apol created this revision. Restricted Application added a project: Frameworks.
REVISION SUMMARY As specified in cmake's documentation, file(GLOB) is not recommended for looking up sources because it requires cmake to be regenerated to be able to process what needs to be executed. This patch moves this process into the compilation time where we'll combine the look-up and the generation. TEST PLAN Tested on a project with only po files, will need testing on projects that do include scripts. REPOSITORY R249 KI18n BRANCH master REVISION DETAIL https://phabricator.kde.org/D5167 AFFECTED FILES CMakeLists.txt autotests/CMakeLists.txt cmake/KF5I18NMacros.cmake cmake/build-pofiles.cmake cmake/build-tsfiles.cmake To: apol, #frameworks, sitter, ltoscano