Initial cmake convertion

(cherry picked from commit 20cda3a85e)
r14.0.x
Alexander Golubev 9 years ago committed by Slávek Banko
parent 1ad94ab13a
commit 942c6c1da3

@ -0,0 +1,63 @@
#################################################
#
# (C) 2013 Alexander Golubev (Fat-Zer)
# fatzer2 (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
cmake_minimum_required( VERSION 2.8 )
##### general package setup #####################
project( k3b-i18n )
set( VERSION R14.1.0 )
##### include essential cmake modules ###########
include( FindPkgConfig ) # required for find_package( TDE )
##### include our cmake modules #################
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEMacros )
##### find required stuff #######################
include( FindGettext )
if( GETTEXT_FOUND )
set( DEFAULT_MSGFMT_EXECUTABLE ${GETTEXT_MSGFMT_EXECUTABLE} )
else( GETTEXE_FOUND )
find_program( DEFAULT_MSGFMT_EXECUTABLE msgfmt )
endif( GETTEXT_FOUND )
set( MSGFMT_EXECUTABLE ${DEFAULT_MSGFMT_EXECUTABLE} CACHE FILEPATH
"path to msgfmt executable" )
if( NOT MSGFMT_EXECUTABLE )
tde_message_fatal( "msgfmt is required but was not found on your system or defined" )
endif( NOT MSGFMT_EXECUTABLE )
find_package( TDE )
##### setup install paths #######################
include( TDESetupPaths )
tde_setup_paths( )
option( BUILD_DOC "Build documentation" ON )
option( BUILD_MESSAGES "Build message and GUI translation" ON )
###### subdirectories ###########################
tde_auto_add_subdirectories( )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG af )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG ar )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG bg )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG br )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG bs )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG ca )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG cs )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG cy )

@ -0,0 +1,2 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )
tde_conditional_add_subdirectory( BUILD_DOC doc )

@ -0,0 +1,6 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook(
DESTINATION k3b
LANG da
)

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG da )

@ -0,0 +1,2 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )
tde_conditional_add_subdirectory( BUILD_DOC doc )

@ -0,0 +1,6 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook(
DESTINATION k3b
LANG de
)

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG de )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG el )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG en_GB )

@ -0,0 +1,2 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )
tde_conditional_add_subdirectory( BUILD_DOC doc )

@ -0,0 +1,6 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook(
DESTINATION k3b
LANG es
)

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG es )

@ -0,0 +1,2 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )
tde_conditional_add_subdirectory( BUILD_DOC doc )

@ -0,0 +1,6 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook(
DESTINATION k3b
LANG et
)

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG et )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG eu )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG fa )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG fi )

@ -0,0 +1,2 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )
tde_conditional_add_subdirectory( BUILD_DOC doc )

@ -0,0 +1,6 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook(
DESTINATION k3b
LANG fr
)

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG fr )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG ga )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG gl )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG he )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG hi )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG hu )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG is )

@ -0,0 +1,2 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )
tde_conditional_add_subdirectory( BUILD_DOC doc )

@ -0,0 +1,6 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook(
DESTINATION k3b
LANG it
)

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG it )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG ja )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG ka )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG km )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG lt )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG mk )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG ms )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG nb )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG nds )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG ne )

@ -0,0 +1,2 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )
tde_conditional_add_subdirectory( BUILD_DOC doc )

@ -0,0 +1,6 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook(
DESTINATION k3b
LANG nl
)

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG nl )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG nn )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG pa )

@ -0,0 +1,2 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )
tde_conditional_add_subdirectory( BUILD_DOC doc )

@ -0,0 +1,6 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook(
DESTINATION k3b
LANG pl
)

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG pl )

@ -0,0 +1,2 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )
tde_conditional_add_subdirectory( BUILD_DOC doc )

@ -0,0 +1,6 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook(
DESTINATION k3b
LANG pt
)

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG pt )

@ -0,0 +1,2 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )
tde_conditional_add_subdirectory( BUILD_DOC doc )

@ -0,0 +1,6 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook(
DESTINATION k3b
LANG pt_BR
)

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG pt_BR )

@ -0,0 +1,2 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )
tde_conditional_add_subdirectory( BUILD_DOC doc )

@ -0,0 +1,6 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook(
DESTINATION k3b
LANG ru
)

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG ru )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG rw )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG se )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG sk )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG sr )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG sr@Latn )

@ -0,0 +1,2 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )
tde_conditional_add_subdirectory( BUILD_DOC doc )

@ -0,0 +1,6 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook(
DESTINATION k3b
LANG sv
)

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG sv )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG ta )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG tr )

@ -0,0 +1,2 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )
tde_conditional_add_subdirectory( BUILD_DOC doc )

@ -0,0 +1,6 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook(
DESTINATION k3b
LANG uk
)

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG uk )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG uz )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG uz@cyrillic )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG zh_CN )

@ -0,0 +1 @@
tde_conditional_add_subdirectory( BUILD_MESSAGES messages )

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_translation( LANG zh_TW )
Loading…
Cancel
Save