importing variable into meson
Zane Shelley
zshelle at linux.ibm.com
Thu Jun 6 06:31:06 AEST 2019
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.cpp
src_files += source2.cpp
src_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?
--
- Zane
More information about the openbmc
mailing list