mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-08-23 11:39:57 +00:00
meson: Add option for UNITY_SUPPORT_64
This commit is contained in:
@@ -26,6 +26,7 @@ project('unity', 'c',
|
||||
build_fixture = get_option('extension_fixture')
|
||||
build_memory = get_option('extension_memory')
|
||||
support_double = get_option('support_double')
|
||||
support_int64 = get_option('support_int64')
|
||||
fixture_help_message = get_option('fixture_help_message')
|
||||
|
||||
unity_args = []
|
||||
@@ -51,6 +52,10 @@ if support_double
|
||||
unity_args += '-DUNITY_INCLUDE_DOUBLE'
|
||||
endif
|
||||
|
||||
if support_int64
|
||||
unity_args += '-DUNITY_SUPPORT_64'
|
||||
endif
|
||||
|
||||
unity_lib = static_library(meson.project_name(),
|
||||
sources: unity_src,
|
||||
c_args: unity_args,
|
||||
|
||||
Reference in New Issue
Block a user