Closed erlingrj closed 5 days ago
Also, setting the size of the event queue and reaction queue is done from CMake, this needs to be done in a build-system agnostic way.
reactor-cpp did this by having a config.hh.in
https://github.com/lf-lang/reactor-cpp/blob/master/include/reactor-cpp/config.hh.in
This is the autoconf way of passing build parameters to your program
I just realized we already have this file.
The config stuff with CMake is nice, but we dont want it tied to CMake because RIOT, and potential other use cases are Make based.
I think autotools
might be an alternative, or simple script based on a toml file?
We need a way for conveniently selecting which NetworkChannel implementations to add to the build. Currently it is a CMake option which generates a compile def, but this wont work for RIOT since it is Make based. Can we do it purely in C, i.e. in a code-generated file we select this?