Closed hasselmm closed 4 weeks ago
Run arduino-cli compile --preprocess "${CMAKE_SOURCE_DIR}" to inject the header and to merge all .ino files.
arduino-cli compile --preprocess "${CMAKE_SOURCE_DIR}"
.ino
Decided to do this preprocessing without arduino-cli because arduino-cli is very, very slow. For instance from scanning all platform library sources for headers; which are alot for STM32 and others.
arduino-cli
Run
arduino-cli compile --preprocess "${CMAKE_SOURCE_DIR}"
to inject the header and to merge all.ino
files.