hackens-devant/main/CMakeLists.txt

10 lines
355 B
Text
Raw Normal View History

2024-12-03 22:08:03 +01:00
set(requires esp-tls nvs_flash esp_netif esp_http_server esp_wifi esp_eth esp_driver_gpio)
idf_build_get_property(target IDF_TARGET)
if(${target} STREQUAL "linux")
list(APPEND requires esp_stubs protocol_examples_common)
endif()
idf_component_register(SRCS "main.c"
INCLUDE_DIRS "."
PRIV_REQUIRES ${requires})