Clovel / LTBL

Let there be light ! This project aims to create a web-connected lamp controled by both a physical switch and a web page. - WIP
GNU Lesser General Public License v3.0
0 stars 0 forks source link

CMake build structure #15

Open Clovel opened 4 years ago

Clovel commented 4 years ago

The challenge is to find a way to compile the main project w/ CMake. Anyway, the UTs will be built w/ CMake and run w/ CTest.

Clovel commented 4 years ago

you can build the PlatformIO project using commands like pio run (c.f. CI scripts). Maybe we can set the build in CMake using this.

This solution is not ideal, as CMake wont be generating the Makefile to compile sources, but to call pio.