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