mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 14:33:22 +00:00
aba5b377bf
frozen is a small JSON parser and generator library, targeted at embedded use-cases. As it only uses two source files, add meson.build on the fly to enable cross compilation. Signed-off-by: Markus Theil <theil.markus@gmail.com>
20 lines
296 B
Meson
20 lines
296 B
Meson
project(
|
|
'frozen',
|
|
'c',
|
|
default_options: [
|
|
'c_args=-Wextra -fno-builtin -pedantic',
|
|
'c_std=c99',
|
|
'werror=true'
|
|
],
|
|
license: 'Apache-2.0',
|
|
version: '20210223'
|
|
)
|
|
|
|
library(
|
|
'frozen',
|
|
'frozen.c',
|
|
install: true
|
|
)
|
|
|
|
install_headers('frozen.h')
|