code reorganized

This commit is contained in:
Martin Brodbeck 2024-02-09 11:10:06 +01:00
parent 991b587afb
commit 1d4d387299
5 changed files with 7 additions and 4 deletions

View file

@ -25,10 +25,9 @@ pico_sdk_init()
# Add executable. Default name is the project name, version 0.1
add_executable(pico_keyer
pico_keyer.cpp
settings.cpp
)
add_executable(pico_keyer)
add_subdirectory(src)
pico_set_program_name(pico_keyer "pico_keyer")
pico_set_program_version(pico_keyer "0.1")

4
src/CMakeLists.txt Normal file
View file

@ -0,0 +1,4 @@
target_sources(pico_keyer PRIVATE
pico_keyer.cpp
settings.cpp
)