/
gozaltech
/
RHVoice
Обзор
Документация
Войти
/
gozaltech
/
RHVoice
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
external/libs/boost/include/SConscript
33 строки
1 KB
Olga Yakovleva
Android: use an online directory of languages and voices
09 мар 2022, 22:35
09 мар 2022, 22:35
2409f0c
Код
Авторство
О чём код?
# Copyright (C) 2021 Olga Yakovleva <olga@rhvoice.org> # 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/>. from os import path, listdir incdir=Dir("boost") boost_headers=[] def copy_files(indir, outdir): for name in listdir(str(indir)): if path.isdir(str(indir.Entry(name))): copy_files(indir.Dir(name), outdir.Dir(name)) else: res=Command(outdir.File(name), indir.File(name), Copy("$TARGET", "$SOURCE")) boost_headers.extend(res) for libdir in Glob("../libs/*"): libincdir=libdir.Dir("include").Dir("boost") copy_files(libincdir, incdir) Export("boost_headers")