fix(cpp_args): properly propegate args

previously Cpp args were set with add_project_argument, which does not work from subprojects. Changed this so args can be set from calling projects
This commit is contained in:
2026-02-03 11:20:21 -05:00
parent 917d416ce2
commit 7ab0d21ba1
6 changed files with 22 additions and 4 deletions

View File

@@ -29,4 +29,4 @@ elif (llevel == 'critical')
endif
log_argument = '-DQUILL_COMPILE_ACTIVE_LOG_LEVEL=' + log_argument
add_project_arguments(log_argument, language: 'cpp')
gridfire_args += [log_argument]

View File

@@ -9,7 +9,11 @@ if get_option('pkg_config')
libgridfire,
libcomposition,
libconst,
liblogging
liblogging,
libcppad_static,
libcvode_static,
libkinsol_static
],
subdirs: ['gridfire'],
filebase: 'gridfire',