From 664a1607314023d497531dca30618eb6e32efd65 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Thu, 14 Feb 2019 15:44:24 +0100 Subject: conversion to the cmake building system Signed-off-by: gregory guy (cherry picked from commit 7a10077e8260148faa37d5a91e76135e1341e4c1) --- po/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 po/CMakeLists.txt (limited to 'po') diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt new file mode 100644 index 0000000..e3b5278 --- /dev/null +++ b/po/CMakeLists.txt @@ -0,0 +1,7 @@ +file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${PROJECT_NAME}.po ) + +foreach( _po ${po_files} ) + string( REPLACE "/" ";" _path "${_po}" ) + list( GET _path 0 _lang ) + tde_create_translation( FILES ${_po} LANG ${_lang} ) +endforeach( ) -- cgit v1.2.1