From 822e244bd4a950038c65feb2e76f7301bc7d8129 Mon Sep 17 00:00:00 2001 From: Michael Brockus <55331536+michaelbadcrumble@users.noreply.github.com> Date: Tue, 17 Sep 2019 09:37:41 -0700 Subject: [PATCH] Update source meson.build Removed 'unity_src' variable because Unity only one source file, changed library method to static only because there was some issues with using Unity as a shared library, cleaned sub meson.build script and fixed comment in sub source root. --- src/meson.build | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/meson.build b/src/meson.build index 5d8c452..f5e0146 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1,6 +1,6 @@ ################################################################################### # # -# NAME: src/meson.build # +# NAME: meson.build # # # # AUTHOR: Mike Karlesky, Mark VanderVoord, Greg Williams. # # WRITTEN BY: Michael Brockus. # @@ -9,12 +9,8 @@ # # ################################################################################### - - -unity_src = files('unity.c') - unity_dir = include_directories('.') -unity_lib = library(meson.project_name(), - sources: unity_src, - include_directories: unity_dir) \ No newline at end of file +unity_lib = static_library(meson.project_name(), + sources: ['unity.c'], + include_directories: unity_dir) -- GitLab