ecm_install_po_files_as_qm: filter the .po files
Needs ReviewPublic

Authored by ltoscano on Feb 26 2017, 3:20 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Add a new parameter to ecm_install_po_files_as_qm which allows users
to filter the .po files handled by the function.
The parameter is a glob-like pattern which is matched against the name
of the files.

Test Plan

Compiles, the old tests still pass and the test added for the new case
pass as well.

Diff Detail

Repository
R240 Extra CMake Modules
Branch
qm_install_withpattern
Lint
No Linters Available
Unit
No Unit Test Coverage
ltoscano created this revision.Feb 26 2017, 3:20 PM
Restricted Application added projects: Frameworks, Build System. · View Herald TranscriptFeb 26 2017, 3:20 PM
Restricted Application added subscribers: Build System, Frameworks. · View Herald Transcript
aacid added a subscriber: aacid.Feb 26 2017, 7:10 PM

What's the use case?

In D4810#90158, @aacid wrote:

What's the use case?

Point this macro and ki18n_install() (which may require a similar change) in the same directory. I understand that it's not stricly needed (they can be two separate directories).