cmake files improved
This commit is contained in:
parent
f012fbff77
commit
679ccd95a3
2 changed files with 3 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
|||
configure_file(${CMAKE_CURRENT_LIST_DIR}/config.h.in ${PROJECT_BINARY_DIR}/src/config.h)
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
configure_file(${CMAKE_CURRENT_LIST_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
||||
|
||||
set(SOURCES
|
||||
gbmanager.cpp
|
||||
|
@ -20,8 +21,6 @@ else()
|
|||
pico_enable_stdio_usb(${CMAKE_PROJECT_NAME} 0)
|
||||
endif()
|
||||
|
||||
pico_generate_pio_header(${CMAKE_PROJECT_NAME} ${CMAKE_CURRENT_LIST_DIR}/ds18b20.pio)
|
||||
|
||||
# Add the standard library to the build
|
||||
target_link_libraries(${CMAKE_PROJECT_NAME} pico_stdlib pico_one_wire)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue