~tristan957/harvest-almanac

1737d84c81ea29367391d45b1b5df4a0c5dda5f2 — Tristan Partin 2 years ago 3d344be
meson: used warning level instead of c_args
3 files changed, 4 insertions(+), 5 deletions(-)

M .build.yml
M dist/flatpak/io.partin.tristan.HarvestAlmanac.json
M meson.build
M .build.yml => .build.yml +1 -1
@@ 13,7 13,7 @@ sources:
tasks:
  - setup: |
      cd harvest-almanac
      CC=gcc meson -Dwerror=true -Dbuildtype=release build
      CC=gcc meson -Dwerror=true -Dbuildtype=release -Dwarning_level=2 build
  - build: |
      cd harvest-almanac
      ninja -C build

M dist/flatpak/io.partin.tristan.HarvestAlmanac.json => dist/flatpak/io.partin.tristan.HarvestAlmanac.json +2 -1
@@ 52,7 52,8 @@
			"buildsystem": "meson",
			"config-opts": [
				"-Dwerror=true",
				"-Dbuildtype=release"
				"-Dbuildtype=release",
				"-Dwarning_level=2"
			],
			"sources": [
				{

M meson.build => meson.build +1 -3
@@ 6,14 6,12 @@ project(
        'LGPL-3.0-only',
    ],
    default_options: [
        'c_std=gnu11', # Enable GCC extensions
        'c_std=gnu18', # Enable GCC extensions
        'buildtype=debugoptimized',
    ],
)

c_args = [
    '-Wall',
    '-Werror',
    # Required to pick up hal-resources.h, config.h in some IDEs
    '-I' + join_paths(meson.build_root(), 'data'),
    '-I' + join_paths(meson.build_root(), 'harvest-almanac'),