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

Update Meson build system

The following features from the CMake build have been implemented:
 * Library version retrieved from unity.h.
 * Extension support.
 * Library, header, and package configuration file installation.

This commit is entirely based on existing work by Owen Torres.
This commit is contained in:
Andrew McNulty
2023-02-13 17:22:52 +01:00
parent cd80a79db5
commit 44bc9e6dbe
6 changed files with 94 additions and 6 deletions

View File

@@ -0,0 +1,8 @@
unity_inc += include_directories('.')
unity_src += files('unity_fixture.c')
install_headers(
'unity_fixture.h',
'unity_fixture_internals.h',
subdir: meson.project_name()
)

View File

@@ -0,0 +1,7 @@
unity_inc += include_directories('.')
unity_src += files('unity_memory.c')
install_headers(
'unity_memory.h',
subdir: meson.project_name()
)