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:
parent
43576de627
commit
f560b775b4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user