diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-11-20 14:28:13 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-11-20 14:28:32 +0100 |
commit | 803f8414632fc7bf5d4dcee92a0d913c6fc6c8bc (patch) | |
tree | 1e6e34506ea4a7cd5b5642b0cd178dd240c48919 /meson.build | |
parent | 09547184c3608d88da1cc4e82b3e7d776c99b834 (diff) | |
download | fiv-803f8414632fc7bf5d4dcee92a0d913c6fc6c8bc.tar.gz fiv-803f8414632fc7bf5d4dcee92a0d913c6fc6c8bc.tar.xz fiv-803f8414632fc7bf5d4dcee92a0d913c6fc6c8bc.zip |
Fix key handling and Meson
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 1f8764e..7599285 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,10 @@ -project('fastiv', 'c', default_options : ['c_std=gnu99'], version : '0.1.0') +project('fastiv', 'c', + default_options : ['c_std=gnu99', 'warning_level=2'], + version : '0.1.0') +add_project_arguments( + meson.get_compiler('c').get_supported_arguments('-Wno-cast-function-type'), + language: 'c', +) # TODO(p): Use libraw_r later, when we start parallelizing/preloading. libraw = dependency('libraw', required : get_option('libraw')) |