diff options
| -rw-r--r-- | meson.build | 4 | ||||
| -rw-r--r-- | meson_options.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build index a230d4d..bb73e4d 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('libalabaster', 'c', version: '0.1', +project('libalabaster', 'c', version: '0.01', default_options: ['warning_level=2', 'c_std=c99']) compiler = meson.get_compiler('c') @@ -45,7 +45,7 @@ alabaster = declare_dependency(include_directories: alabaster_inc, dependencies: alabaster_deps, sources: alabaster_src, compile_args: alabaster_args) -if get_option('build-tests') and not meson.is_subproject() +if get_option('tests') and not meson.is_subproject() tests_src = [ 'tests/main.c', 'tests/array.c', diff --git a/meson_options.txt b/meson_options.txt index 891bc02..ea1045c 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1 +1 @@ -option('build-tests', type: 'boolean', value: true) +option('tests', type: 'boolean', value: true) |