move to meson for build system

This commit is contained in:
Lobo 2026-01-19 10:25:56 -03:00
parent fdd1ee61b5
commit 9616fb616e
28 changed files with 123 additions and 24 deletions

25
meson.build Normal file
View file

@ -0,0 +1,25 @@
project(
'growl',
'c',
meson_version : '>= 1.3.0',
version : '0.1',
default_options : ['buildtype=debugoptimized', 'c_std=c99', 'warning_level=3'],
)
sources = [
'src/chunk.c',
'src/compile.c',
'src/gc.c',
'src/object.c',
'src/parser.c',
'src/print.c',
'src/vm.c',
'src/vendor/mpc.c',
'src/vendor/yar.c',
]
exe = executable(
'growl',
'src/main.c', sources,
install : true,
)