mirror of
https://github.com/linux-msm/debugcc.git
synced 2026-02-25 13:12:32 -08:00
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`).
10 lines
150 B
C
10 lines
150 B
C
/* Autogenerated file, do not edit */
|
|
#include <stdlib.h>
|
|
|
|
@PLATFORM_DEFS@
|
|
|
|
const struct debugcc_platform *platforms[] = {
|
|
@PLATFORM_ARRAY@
|
|
NULL,
|
|
};
|