Page 1 of 1

Build error in cmakelists

Posted: Mon Jan 22, 2024 12:44 pm
by Lavanya20
Hi ,
Below I share my project structure, In this My_Gateway is main project, Corecode and SOC is the application/upper layer of my project. How can I link those 2 folder to main project. please provide cmakelists files.
ESP_PROJECT/
|--My_Gateway/
| |-- main/
| | |-- CMakeLists.txt
| | |-- main.c
| |-- CMakeLists.txt
|-- Corecode/
| |-- Device/
| | |-- TemperatureDevice.h
| | |-- TemperatureDevice.c
| |-- Common/
| | |-- handler.h
|-- SOC/
| |-- i2cdriver.h
| |-- i2cdriver.c