code reorganized
This commit is contained in:
parent
991b587afb
commit
1d4d387299
5 changed files with 7 additions and 4 deletions
|
@ -25,10 +25,9 @@ pico_sdk_init()
|
||||||
|
|
||||||
# Add executable. Default name is the project name, version 0.1
|
# Add executable. Default name is the project name, version 0.1
|
||||||
|
|
||||||
add_executable(pico_keyer
|
add_executable(pico_keyer)
|
||||||
pico_keyer.cpp
|
|
||||||
settings.cpp
|
add_subdirectory(src)
|
||||||
)
|
|
||||||
|
|
||||||
pico_set_program_name(pico_keyer "pico_keyer")
|
pico_set_program_name(pico_keyer "pico_keyer")
|
||||||
pico_set_program_version(pico_keyer "0.1")
|
pico_set_program_version(pico_keyer "0.1")
|
||||||
|
|
4
src/CMakeLists.txt
Normal file
4
src/CMakeLists.txt
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
target_sources(pico_keyer PRIVATE
|
||||||
|
pico_keyer.cpp
|
||||||
|
settings.cpp
|
||||||
|
)
|
Loading…
Reference in a new issue