pimoroni-pico/examples/pico_explorer/CMakeLists.txt

18 lines
386 B
CMake
Raw Normal View History

add_custom_command(
OUTPUT fox.o
COMMAND arm-none-eabi-ld -r -b binary -o fox.o ${CMAKE_CURRENT_SOURCE_DIR}/fox.tga
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/fox.tga
)
add_executable(
explorer
demo.cpp
fox.o
)
# Pull in pico libraries that we need
target_link_libraries(explorer pico_stdlib pico_explorer msa301)
# create map/bin/hex file etc.
pico_add_extra_outputs(explorer)