pico-sdk/test/pico_divider_test/CMakeLists.txt

17 lines
440 B
CMake
Raw Normal View History

2021-01-20 16:44:27 +00:00
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()