-
Notifications
You must be signed in to change notification settings - Fork 225
/
CMakeLists.txt
119 lines (98 loc) · 3.64 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# Copyright (C) 2010, 2011, 2012, 2013, 2014, 2018 Olga Yakovleva <yakovleva.o.v@gmail.com>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
cpack_add_component_group("data")
set("ISO639_1_NAME2CODE_Russian" "ru")
set("ISO639_1_NAME2CODE_English" "en")
set("ISO639_1_NAME2CODE_Ukrainian" "uk")
set("ISO639_1_NAME2CODE_Brazilian" "br")
set("ISO639_1_NAME2CODE_Portuguese" "pt")
set("ISO639_1_NAME2CODE_Polish" "pl")
set("ISO639_1_NAME2CODE_Brazilian-Portuguese" "${ISO639_1_NAME2CODE_Portuguese}-BR")
set("ISO639_1_NAME2CODE_Esperanto" "eo")
set("ISO639_1_NAME2CODE_Georgian" "ka")
set("ISO639_1_NAME2CODE_Kyrgyz" "ky")
set("ISO639_1_NAME2CODE_Macedonian" "mk")
set("ISO639_1_NAME2CODE_Albanian" "sq")
set("ISO639_1_NAME2CODE_Tatar" "tt")
set("ISO639_1_NAME2CODE_Czech" "cs")
set("ISO639_1_NAME2CODE_Slovak" "sk")
set("ISO639_1_NAME2CODE_Uzbek" "uz")
set("ISO639_1_NAME2CODE_Serbian" "sr")
function(createLangCodeToNameMapping)
get_cmake_property(varsHere VARIABLES)
foreach(varName ${varsHere})
if(varName MATCHES "^ISO639_1_NAME2CODE_(.+)$")
set("ISO639_1_CODE2NAME_${${varName}}" "${CMAKE_MATCH_1}" PARENT_SCOPE)
endif()
endforeach()
endfunction()
createLangCodeToNameMapping()
set("VOICE_talgat_LICENSE" "Proprietary, non-commercial") # Tatar
set("VOICE_natia_LICENSE" "Proprietary, personal use only") # Georgian
set("VOICE_Leticia-F123_LICENSE" "by-sa-4.0") # Brazilian Portuguese
set("VOICE_aleksandr_LANG" "ru")
set("VOICE_aleksandr-hq_LANG" "ru")
set("VOICE_anna_LANG" "ru")
set("VOICE_vitaliy_LANG" "ru")
set("VOICE_vitaliy-ng_LANG" "ru")
set("VOICE_umka_LANG" "ru")
set("VOICE_yuriy_LANG" "ru")
set("VOICE_arina_LANG" "ru")
set("VOICE_artemiy_LANG" "ru")
set("VOICE_evgeniy-rus_LANG" "ru")
set("VOICE_elena_LANG" "ru")
set("VOICE_irina_LANG" "ru")
set("VOICE_pavel_LANG" "ru")
set("VOICE_victoria_LANG" "ru")
set("VOICE_tatiana_LANG" "ru")
set("VOICE_timofey_LANG" "ru")
set("VOICE_mikhail_LANG" "ru")
set("VOICE_vsevolod_LANG" "ru")
set("VOICE_evgeniy-eng_LANG" "en")
set("VOICE_lyubov_LANG" "en")
set("VOICE_alan_LANG" "en")
set("VOICE_bdl_LANG" "en")
set("VOICE_clb_LANG" "en")
set("VOICE_ksp_LANG" "en")
set("VOICE_slt_LANG" "en")
set("VOICE_volodymyr_LANG" "uk")
set("VOICE_marianna_LANG" "uk")
set("VOICE_anatol_LANG" "uk")
set("VOICE_natalia_LANG" "uk")
set("VOICE_Leticia-F123_LANG" "${ISO639_1_NAME2CODE_Brazilian-Portuguese}")
set("VOICE_spomenka_LANG" "eo")
set("VOICE_natia_LANG" "ka")
set("VOICE_azamat_LANG" "ky")
set("VOICE_nazgul_LANG" "ky")
set("VOICE_kiko_LANG" "mk")
set("VOICE_suze_LANG" "mk")
set("VOICE_hana_LANG" "sq")
set("VOICE_talgat_LANG" "tt")
set("VOICE_alicja_LANG" "pl")
set("VOICE_cezary_LANG" "pl")
set("VOICE_magda_LANG" "pl")
set("VOICE_michal_LANG" "pl")
set("VOICE_natan_LANG" "pl")
set("VOICE_zdenek_LANG" "cs")
set("VOICE_ondro_LANG" "sk")
set("VOICE_sevinch_LANG" "uz")
set("VOICE_islom_LANG" "uz")
set("VOICE_dilnavoz_LANG" "uz")
set("VOICE_dragana_LANG" "sr")
cpack_add_component_group("data"
DISPLAY_NAME "Data files"
DESCRIPTION "Various data required for synthesis"
EXPANDED
)
add_subdirectory("languages")
add_subdirectory("voices")
pass_through_cpack_vars()