Hi
My project is an nrf sdk connect mesh made up of three applications (Swtich Light Sensor). Each application uses the common library, what would be the best setup for this type of project in terms of Cmake architecture and maintainability?
How can I add a "out of tree" common library those applications using Cmake?
Mesh
|
|
|--Light
| | |-- include
| | | | adc.h
| | |
| | |-- src
| | | | adc.c
| | |
| | | CMakeLists.txt
|
| |--Switch
| | |-- include
| | | | adc.h
| | |
| | |-- src
| | | | adc.c
| | |
| | | CMakeLists.txt
|
| |--Sensor
| | |-- include
| | | | adc.h
| | |
| | |-- src
| | | | adc.c
| | |
| | | CMakeLists.txt
|
| |--Common
| | |-- include
| | | | adc.h
| | |
| | |-- src
| | | | adc.c
| | |
Thanks
Cedric