1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-25 17:31:36 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
Nir Soffer
18482abd9e Don't install anything when building as subproject
When a project is consuming unity as as subproject, unity headers,
static library and pkg config files are installed by `meson install`.

This can be fixed by using `meson install --skip-subprojects`, but this
must be repeated in all the distros packaging a project.

Fixed by disabling install when building as a subproject.

Fixes: #661
2023-02-21 02:28:04 +02:00
Andrew McNulty
44bc9e6dbe 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.
2023-02-13 17:22:52 +01:00
Noah Knegt
fc5b33ce71 Fix compiling native when main project is cross-compiling 2022-10-13 15:36:10 +02:00
Michael Gene Brockus
91d16179b5 Update meson.build 2022-06-19 06:34:23 -07:00
Michael Brockus
62d0e7d68e Update meson.build 2020-08-05 21:15:37 -07:00
Michael
8a3a31f7b3 clean up meson support 2020-02-08 10:30:43 -08:00
Michael Brockus
822e244bd4 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.
2019-09-17 09:37:41 -07:00
Michael Brockus
bd4d35ddd0 Added meson.build in src directory. 2019-07-02 19:58:16 -07:00