Detect whether the "standard" targets (lz4, glm, and imgui) already exist and use them instead of redefining. Rename "non-standard" targets (those without their own CMakeLists, such as stb) to a ...
C:/Espressif/frameworks/esp-idf-v4.3.2/esp32-client-sdk/components/iota_c/iota_c/src/core/seed.c ...
When looking through a large list of projects, one thing becomes apparent: a description of the build process always is stored in a group of files. These files can be simple shell scripts, Makefiles, ...