2025-07-23 16:26:30 -04:00
|
|
|
# bring in all of the fourdst utility repositories
|
|
|
|
|
|
2025-11-28 11:56:41 -05:00
|
|
|
fourdst_build_lib_all = true
|
|
|
|
|
if get_option('unity-safe')
|
|
|
|
|
fourdst_build_lib_all=false
|
|
|
|
|
endif
|
|
|
|
|
|
2025-11-28 11:28:49 -05:00
|
|
|
fourdst_sp = subproject('fourdst',
|
|
|
|
|
default_options:
|
|
|
|
|
['build-tests=' + get_option('build-tests').to_string(),
|
2025-11-28 11:56:41 -05:00
|
|
|
'build-python=' + get_option('build-python').to_string(),
|
|
|
|
|
'build-lib-all=' + fourdst_build_lib_all.to_string(),
|
|
|
|
|
'pkg-config=' + get_option('pkg-config').to_string(),
|
|
|
|
|
'build-lib-log=true'
|
2025-11-28 11:28:49 -05:00
|
|
|
]
|
|
|
|
|
)
|
2025-07-23 16:26:30 -04:00
|
|
|
|
|
|
|
|
composition_dep = fourdst_sp.get_variable('composition_dep')
|
|
|
|
|
log_dep = fourdst_sp.get_variable('log_dep')
|
|
|
|
|
const_dep = fourdst_sp.get_variable('const_dep')
|
|
|
|
|
config_dep = fourdst_sp.get_variable('config_dep')
|
2025-11-28 11:56:41 -05:00
|
|
|
if not get_option('unity-safe')
|
|
|
|
|
plugin_dep = fourdst_sp.get_variable('plugin_dep')
|
|
|
|
|
endif
|
2025-07-23 16:26:30 -04:00
|
|
|
|
|
|
|
|
libcomposition = fourdst_sp.get_variable('libcomposition')
|
|
|
|
|
libconst = fourdst_sp.get_variable('libconst')
|
|
|
|
|
libconfig = fourdst_sp.get_variable('libconfig')
|
2025-11-28 11:28:49 -05:00
|
|
|
liblogging = fourdst_sp.get_variable('liblogging')
|
2025-11-28 11:56:41 -05:00
|
|
|
|
|
|
|
|
if not get_option('unity-safe')
|
|
|
|
|
libplugin = fourdst_sp.get_variable('libplugin')
|
2025-12-01 13:28:25 -05:00
|
|
|
endif
|