CMakeLists.txt 464 B

123456789101112131415161718
  1. set(COMPONENT_SRCS
  2. "src/esp_loader.c"
  3. "src/serial_comm.c"
  4. "port/esp32_uart.c")
  5. set(COMPONENT_ADD_INCLUDEDIRS "include")
  6. set(COMPONENT_PRIV_INCLUDEDIRS "private_include" )
  7. if (NOT ESP_PLATFORM)
  8. message(FATAL_ERROR "This CMakeLists.txt file is only for use inside ESP-IDF.
  9. It will need modifying to work standalone or in another project.")
  10. endif()
  11. register_component()
  12. component_compile_options(-Wstrict-prototypes)