refactoring
This commit is contained in:
@@ -19,7 +19,12 @@ project(ValveController C CXX ASM)
|
||||
# Initialise the Raspberry Pi Pico SDK
|
||||
pico_sdk_init()
|
||||
|
||||
add_executable(ValveController ValveController.cpp)
|
||||
add_executable(ValveController)
|
||||
|
||||
file(GLOB SRCS "*.cpp" "*.c")
|
||||
file(GLOB HDRS "*.h")
|
||||
message("SOURCES=${SRCS}")
|
||||
target_sources(ValveController PRIVATE ${SRCS} ${HDRS})
|
||||
|
||||
pico_set_program_name(ValveController "ValveController")
|
||||
pico_set_program_version(ValveController "0.1")
|
||||
|
||||
Reference in New Issue
Block a user