feat(fourdst): added better arch detect and pkg-config cli option

This commit is contained in:
2025-08-06 11:54:01 -04:00
parent 729ffe94ca
commit 7e92b2dd6e
9 changed files with 58 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
composition_p = subproject('libcomposition', default_options: ['pkg-config=false'])
composition_p = subproject('libcomposition', default_options: ['pkg-config=' + pkg_config_bool_str])
comp_dep = composition_p.get_variable('composition_dep')
libcomposition = composition_p.get_variable('libcomposition')
spw_dep = composition_p.get_variable('species_weight_dep')

View File

@@ -1,3 +1,3 @@
const_p = subproject('libconstants', default_options: ['pkg-config=false'])
const_p = subproject('libconstants', default_options: ['pkg-config=' + pkg_config_bool_str])
const_dep = const_p.get_variable('const_dep')
libconst = const_p.get_variable('libconst')

View File

@@ -1,4 +1,4 @@
logging_p = subproject('liblogging', default_options: ['pkg-config=false'])
logging_p = subproject('liblogging', default_options: ['pkg-config=' + pkg_config_bool_str])
liblogging = logging_p.get_variable('liblogging')
logging_dep = logging_p.get_variable('logging_dep')

View File

@@ -0,0 +1,4 @@
plugin_p = subproject('libplugin', default_options: ['pkg-config=' + pkg_config_bool_str])
libplugin = logging_p.get_variable('libplugin')
plugin_dep = logging_p.get_variable('plugin_dep')

View File

@@ -2,4 +2,5 @@ subdir('libcomposition')
subdir('libconfig')
subdir('libconstants')
subdir('liblogging')
subdir('libplugin')
subdir('pybind')