/
evo
/
Gtk4-tutorial
Обзор
Документация
Войти
/
evo
/
Gtk4-tutorial
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/turtle/meson.build
18 строк
837 B
Toshio Sekiya
Add mktbl. Change line numbering in html and latex. write sec23 but halfway.
03 мар 2021, 17:45
03 мар 2021, 17:45
fb3b76e
Код
Авторство
О чём код?
project('turtle', 'c') compiler = meson.get_compiler('c') mathdep = compiler.find_library('m', required : true) gtkdep = dependency('gtk4') gnome=import('gnome') resources = gnome.compile_resources('resources','turtle.gresource.xml') flex = find_program('flex') bison = find_program('bison') turtleparser = custom_target('turtleparser', input: 'turtle.y', output: ['turtle_parser.c', 'turtle_parser.h'], command: [bison, '-d', '-o', 'turtle_parser.c', '@INPUT@']) turtlelexer = custom_target('turtlelexer', input: 'turtle.lex', output: 'turtle_lex.c', command: [flex, '-o', '@OUTPUT@', '@INPUT@']) sourcefiles=files('turtleapplication.c', '../tfetextview/tfetextview.c') executable('turtle', sourcefiles, resources, turtleparser, turtlelexer, turtleparser[1], dependencies: [mathdep, gtkdep], export_dynamic: true, install: true)