--- tomlc99/meson.build +++ tomlc99/meson.build @@ -0,0 +1,12 @@ +project('tomlc99', 'c', version: '1.0.0') + +tomlc99_inc = include_directories('.') +tomlc99_lib = static_library( + 'tomlc99', + include_directories: tomlc99_inc, + sources: ['toml.c'] +) +tomlc99_dep = declare_dependency( + link_with: tomlc99_lib, + include_directories: tomlc99_inc, +)