CMakeLists.txt 550 B

12345678910
  1. # The following 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. # This example needs a DNS server: let's use the simple DNS server implementation from captive portal example
  5. set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/protocols/http_server/captive_portal/components/dns_server
  6. $ENV{IDF_PATH}/examples/ethernet/basic/components/ethernet_init)
  7. include($ENV{IDF_PATH}/tools/cmake/project.cmake)
  8. project(sta_to_eth)