chore: reorganize source organization to a more modern style
This commit is contained in:
parent
21cb610d31
commit
0425836642
12 changed files with 16 additions and 10 deletions
|
|
@ -24,12 +24,18 @@ project(ensaht C CXX ASM)
|
|||
|
||||
# Add executable. Default name is the project name, version 0.1
|
||||
|
||||
add_executable(ensaht main.c mqtt.c bmp.c aht.c ens.c)
|
||||
add_executable(ensaht
|
||||
src/main.c
|
||||
src/mqtt.c
|
||||
src/bmp.c
|
||||
src/aht.c
|
||||
src/ens.c
|
||||
)
|
||||
|
||||
# Add the standard include files to the build
|
||||
target_include_directories(ensaht PRIVATE
|
||||
${CMAKE_CURRENT_LIST_DIR}
|
||||
${CMAKE_CURRENT_LIST_DIR}/inc
|
||||
${CMAKE_CURRENT_LIST_DIR}/include
|
||||
${CMAKE_CURRENT_LIST_DIR}/.. # for our common lwipopts or any other standard includes, if required
|
||||
)
|
||||
pico_set_program_name(ensaht "ensaht")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue