CMakeLists.txt 397 B

12345678910
  1. # The following five lines of boilerplate have to be in your project's
  2. # CMakeLists in this exact order for cmake to work correctly
  3. cmake_minimum_required(VERSION 3.16)
  4. if("${IDF_TARGET}" STREQUAL "linux")
  5. set(COMPONENTS main esp_netif lwip protocol_examples_tapif_io startup esp_hw_support esp_system nvs_flash)
  6. endif()
  7. include($ENV{IDF_PATH}/tools/cmake/project.cmake)
  8. project(udp_client)