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

Allow the memory extra and fixture extra to be enabled seperatly.

This commit is contained in:
Ross Smyth
2025-03-05 16:22:40 -05:00
parent cdf1d0297e
commit 0921c263f4
2 changed files with 6 additions and 7 deletions

View File

@@ -34,14 +34,13 @@ unity_inc = []
subdir('src')
if build_fixture
# Building the fixture extension implies building the memory
# extension.
build_memory = true
subdir('extras/fixture/src')
endif
if build_memory
if build_memory.enabled() or (build_memory.auto() and build_fixture)
subdir('extras/memory/src')
else
unity_args += '-DUNITY_FIXTURE_NO_EXTRAS'
endif
if support_double