Files
debugcc/platforms.c.in
Marijn Suijten 4d332b2b43 meson: Use configuration_data() instead of piping variables through echo
Having a template file with replacement macros is a bit cleaner than
encoding the setup of the file in `meson.build` and piping that through
`echo` with caputred variables.

Unfortunately there appears to be no support for repetition, to e.g.
expand a list of platform names into the various uses (array with comma-
separation, or individual `extern struct` declarations, forcing us to
have some form of string expansion within `meson.build`).
2023-11-06 13:00:56 +01:00

10 lines
150 B
C

/* Autogenerated file, do not edit */
#include <stdlib.h>
@PLATFORM_DEFS@
const struct debugcc_platform *platforms[] = {
@PLATFORM_ARRAY@
NULL,
};