1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-23 08:25:58 +01:00

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.
This commit is contained in:
Michael Brockus
2019-09-17 09:37:41 -07:00
committed by GitHub
parent c2c42ce14f
commit 822e244bd4

View File

@@ -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)
unity_lib = static_library(meson.project_name(),
sources: ['unity.c'],
include_directories: unity_dir)