]> git.saurik.com Git - apt.git/commit
CMake: Add support for building and installing .mo files
authorJulian Andres Klode <jak@debian.org>
Sat, 6 Aug 2016 19:11:06 +0000 (21:11 +0200)
committerJulian Andres Klode <jak@debian.org>
Sat, 6 Aug 2016 20:36:02 +0000 (22:36 +0200)
commit7def24826c298df77e34fd17bb72c570a22b04bd
tree7b97d2acd914e4543c3388f061eb3ed0ee294b42
parentf3de2dbaf657f9040a4da448c57267de0fef7d33
CMake: Add support for building and installing .mo files

Introduce support for building translation domain-specific
templates, merging them with the translations, and building
a language-specific .mo file.

The invocation of xgettext is done in the project source
directory, not in the current source directory, and all paths
are made relative to the project root, in order to have clean
templates.

This only supports the C++ source code for now, it unfortunately
does not handle the shell scripts of deselect yet.
CMake/Translations.cmake [new file with mode: 0644]
CMakeLists.txt
README.cmake
po/CMakeLists.txt [new file with mode: 0644]