Currently just one single Sketch is supported per CMake project as CMAKE_PROJECT_NAME, CMAKE_BINARY_DIR and CMAKE_SOURCE_DIR are used to fill some Arduino build properties. One could do so by generating specific rules and target properties during __arduino_toolchain_finalize().
Currently just one single Sketch is supported per CMake project as
CMAKE_PROJECT_NAME
,CMAKE_BINARY_DIR
andCMAKE_SOURCE_DIR
are used to fill some Arduino build properties. One could do so by generating specific rules and target properties during__arduino_toolchain_finalize()
.