esp-idf/components/esp_netif/test_apps/CMakeLists.txt

11 lines
399 B
CMake
Raw Normal View History

2020-04-18 05:47:00 -04:00
# This is the project CMakeLists.txt file for the test subproject
cmake_minimum_required(VERSION 3.16)
2020-04-18 05:47:00 -04:00
set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components")
2020-04-18 05:47:00 -04:00
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(esp_netif_test)
idf_component_get_property(lib esp_netif COMPONENT_LIB)
target_compile_options(${lib} PRIVATE "-fsanitize=undefined" "-fno-sanitize=shift-base")