未验证 提交 822e244b 编写于 作者: M Michael Brockus 提交者: GitHub

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.
上级 c2c42ce1
################################################################################### ###################################################################################
# # # #
# NAME: src/meson.build # # NAME: meson.build #
# # # #
# AUTHOR: Mike Karlesky, Mark VanderVoord, Greg Williams. # # AUTHOR: Mike Karlesky, Mark VanderVoord, Greg Williams. #
# WRITTEN BY: Michael Brockus. # # WRITTEN BY: Michael Brockus. #
...@@ -9,12 +9,8 @@ ...@@ -9,12 +9,8 @@
# # # #
################################################################################### ###################################################################################
unity_src = files('unity.c')
unity_dir = include_directories('.') unity_dir = include_directories('.')
unity_lib = library(meson.project_name(), unity_lib = static_library(meson.project_name(),
sources: unity_src, sources: ['unity.c'],
include_directories: unity_dir) include_directories: unity_dir)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册