meson icon indicating copy to clipboard operation
meson copied to clipboard

How to pass a configuration data or a dict to a subproject

Open ZZH-Finalize opened this issue 1 year ago • 0 comments

I'm using the subproject() function to add a library to my main project, but the subproject uses the "sourceset" module to control which source files should be compiled. So, how can I pass a dictionary to this subproject without directly referencing the variable in the subproject?

subproject meson.build: image image

ZZH-Finalize avatar Apr 12 '24 05:04 ZZH-Finalize