pico-sdk/test/pico_divider_test/CMakeLists.txt
graham sanderson 26653ea81e Initial Release
2021-01-20 10:44:27 -06:00

17 lines
440 B
CMake

PROJECT(pico_divider_test)
if (PICO_ON_DEVICE)
add_executable(pico_divider_test
pico_divider_test.c
)
target_link_libraries(pico_divider_test pico_stdlib)
pico_set_divider_implementation(pico_divider_test hardware_explicit) # want to compare against compiler impl
pico_add_extra_outputs(pico_divider_test)
target_compile_definitions(pico_divider_test PRIVATE
# TURBO
)
endif()