Some .cpp file has to instantiate the module object; and this must be in the library, or you're back to all the problems withusermod_list.cpp. You could add a .cpp file to each that just does#include <my_module_
The library.json must call for local build integration ("includeDir": "../../wled00", "libLDFMode": "chain+", and "libArchive": false) The library.json can now list any library dependencies, or custom build flagsthat apply to only that module. PlatformIO target environments now support ...