From df2ea08157f709f5c3fb1ad24c08b9f1794dcb79 Mon Sep 17 00:00:00 2001 From: Michael Gene Brockus <55331536+troglobyte-coder@users.noreply.github.com> Date: Sun, 19 Jun 2022 06:33:19 -0700 Subject: [PATCH 1/4] Update meson.build --- meson.build | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/meson.build b/meson.build index f5c5cfa..4b9f6e7 100644 --- a/meson.build +++ b/meson.build @@ -1,14 +1,12 @@ # -# build script written by : Michael Brockus. +# build script written by : Michael Gene Brockus. # github repo author: Mike Karlesky, Mark VanderVoord, Greg Williams. # # license: MIT # project('unity', 'c', - license: 'MIT', - meson_version: '>=0.53.0', - default_options: ['werror=true', 'c_std=c11'] -) + meson_version: '>=0.62.0', + default_options: ['werror=true', 'c_std=c11']) subdir('src') unity_dep = declare_dependency(link_with: unity_lib, include_directories: unity_dir) From 91d16179b537023bd766ed45a2ecee13adc08bfa Mon Sep 17 00:00:00 2001 From: Michael Gene Brockus <55331536+troglobyte-coder@users.noreply.github.com> Date: Sun, 19 Jun 2022 06:34:23 -0700 Subject: [PATCH 2/4] Update meson.build --- src/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/meson.build b/src/meson.build index 1c7b426..c165afe 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1,11 +1,11 @@ # -# build script written by : Michael Brockus. +# build script written by : Michael Gene Brockus. # github repo author: Mike Karlesky, Mark VanderVoord, Greg Williams. # # license: MIT # unity_dir = include_directories('.') -unity_lib = static_library(meson.project_name(), - files('unity.c'), +unity_lib = static_library(meson.project_name(), + 'unity.c', include_directories: unity_dir) From b7b65737e8dcc5a94f3def87d3b01a6bd019184f Mon Sep 17 00:00:00 2001 From: Michael Gene Brockus <55331536+troglobyte-coder@users.noreply.github.com> Date: Sun, 19 Jun 2022 06:35:43 -0700 Subject: [PATCH 3/4] Update meson.build --- examples/example_4/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/example_4/meson.build b/examples/example_4/meson.build index f06c3fe..862e231 100644 --- a/examples/example_4/meson.build +++ b/examples/example_4/meson.build @@ -6,7 +6,7 @@ # project('example-4', 'c') -unity_dep = dependency('unity', fallback : ['unity', 'unity_dep']) +unity_dep = dependency('unity') subdir('src') subdir('test') From 193f130aedefcd51a974da96e26bd7fea7ecd5d4 Mon Sep 17 00:00:00 2001 From: Michael Gene Brockus <55331536+troglobyte-coder@users.noreply.github.com> Date: Sun, 19 Jun 2022 06:36:25 -0700 Subject: [PATCH 4/4] Update unity.wrap --- examples/example_4/subprojects/unity.wrap | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/example_4/subprojects/unity.wrap b/examples/example_4/subprojects/unity.wrap index f2e54c8..8688475 100755 --- a/examples/example_4/subprojects/unity.wrap +++ b/examples/example_4/subprojects/unity.wrap @@ -1,4 +1,6 @@ [wrap-git] -directory = unity url = https://github.com/ThrowTheSwitch/Unity.git revision = head + +[provide] +unity = unity_dep