kopia lustrzana https://github.com/pimoroni/pimoroni-pico
14 wiersze
305 B
CMake
14 wiersze
305 B
CMake
set(OUTPUT_NAME encoderwheel_chase_game)
|
|
add_executable(${OUTPUT_NAME} chase_game.cpp)
|
|
|
|
# Pull in pico libraries that we need
|
|
target_link_libraries(${OUTPUT_NAME}
|
|
pico_stdlib
|
|
breakout_encoder_wheel
|
|
)
|
|
|
|
# enable usb output
|
|
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
|
|
|
|
pico_add_extra_outputs(${OUTPUT_NAME})
|