raspikeyer/src/CMakeLists.txt

28 lines
563 B
CMake

configure_file(config.h.in config.h @ONLY)
# Make sure TinyUSB can find tusb_config.h
target_include_directories(raspikeyer PUBLIC
${CMAKE_CURRENT_LIST_DIR}
)
# Make sure the compiler can find the
# generated config.h
target_include_directories(raspikeyer PUBLIC
${CMAKE_CURRENT_BINARY_DIR}
)
pico_generate_pio_header(raspikeyer
${CMAKE_CURRENT_LIST_DIR}/tm1637.pio
)
target_sources(raspikeyer PRIVATE
raspikeyer.cpp
settings.cpp
keyer.cpp
sidetone.cpp
morse.cpp
winkeyer.cpp
utils.cpp
tm1637.cpp
usb_descriptors.c
)