CMakeLists.txt 398 B

12345678910
  1. # This is the project CMakeLists.txt file for the test subproject
  2. cmake_minimum_required(VERSION 3.5)
  3. set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/unit-test-app/components")
  4. include($ENV{IDF_PATH}/tools/cmake/project.cmake)
  5. project(esp_netif_test)
  6. idf_component_get_property(lib esp_netif COMPONENT_LIB)
  7. target_compile_options(${lib} PRIVATE "-fsanitize=undefined" "-fno-sanitize=shift-base")