importing variable into meson
I have a piece of code that will be included in multiple build environments: GNU make, ODE make (POWER FSP specific), and whatever we decide to use for OpenBMC. Previously, we have been able to manage which source files to build with a .mk file that simply has variables defined like:
src_files += source1.cppsrc_files += source2.cppsrc_files += source3.cpp
...
Then all we have to do is include those files in the makefiles. I am trying to find if tools like meson, or maybe cmake, can include the same files. Thoughts?
Signature · 1 line
- Zane