changed how cmake outputs files

made cmake outputs a make file that has an autobar.c, not a blink.c
this is for posterity, not to be confused by file naming
This commit is contained in:
Wyatt J. Miller 2022-07-15 14:31:20 -04:00
parent 43576de627
commit f560b775b4

View File

@ -11,16 +11,16 @@ set(CMAKE_CXX_STANDARD 17)
pico_sdk_init()
add_executable(
blink
blink.c
autobar
autobar.c
)
# pull in common dependencies
target_link_libraries(
blink
autobar
pico_stdlib
${CMAKE_SOURCE_DIR}/rusty/target/thumbv6m-none-eabi/release/librusty.a
# ${CMAKE_SOURCE_DIR}/rusty/target/thumbv6m-none-eabi/release/librusty.a
)
# create map/bin/hex file etc.
pico_add_extra_outputs(blink)
pico_add_extra_outputs(autobar)