I have created a [lvgl.nimble](https://github.com/mantielero/lvgl.nim/blob/0f1fd52469f25632921ceeb2173fb2b87dae6158/lvgl.nimble#L25-L32) with a task that stores the `nimcache` outcomes within the nimble structure.
Later I include a file with the `{.link: "xxx.c.o"}`. This way there is no need to compile the whole library for each new example. It is a bit crappy, but it seems to work.