]> git.scottworley.com Git - tattlekey/blame - client/CMakeLists.txt
client: Switch to pico_w blink example
[tattlekey] / client / CMakeLists.txt
CommitLineData
5ec2b60a
SW
1cmake_minimum_required(VERSION 3.13) # Per https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf p30
2include(pico_sdk_import.cmake)
3
4project(tattlekey C CXX ASM)
5
6set(CMAKE_C_STANDARD 11)
7set(CMAKE_CXX_STANDARD 17)
8pico_sdk_init()
9
10add_executable(tattlekey tattlekey.c)
11
12pico_add_extra_outputs(tattlekey)
13
e2173399
SW
14target_link_libraries(tattlekey
15 pico_stdlib
16 pico_cyw43_arch_none
17 )
5ec2b60a
SW
18
19install(TARGETS tattlekey RUNTIME LIBRARY ARCHIVE)