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