first commit, configure cmake

This commit is contained in:
Emanuele Trabattoni
2021-05-16 14:11:22 +02:00
parent 4d7f275ee8
commit b2b1fb8d97
7 changed files with 152 additions and 0 deletions

11
src/CMakeLists.txt Normal file
View File

@@ -0,0 +1,11 @@
#add executable for main
add_executable(emon main.cpp)
# Pull in our pico_stdlib which aggregates commonly used features
target_link_libraries(emon pico_stdlib)
# create map/bin/hex/uf2 file etc.
pico_add_extra_outputs(emon)
# add url via pico_set_program_url
example_auto_set_url(emon)