CMakeLists.txt 486 B

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