On Tue, 29 Jun 2021 06:36:43 -0700, honey wrote: > However, PlatformIO uses its own build system, which won’t play > nice with make and cmake.
Note that CMake isn’t actually a build system, it’s a wrapper around other build systems. Think of it more as a “meta-build” system. It generates GNU Makefiles on Linux-type systems, and Visual Studio and XCode IDE projects on Microsoft and Apple platforms. In short, it should in principle be possible to create a CMake backend that drives whatever platform-specific build system you have here.
