esp-idf/tools/test_apps/security/secure_boot/main/CMakeLists.txt

10 wiersze
252 B
CMake

if(CONFIG_IDF_TARGET_ESP32)
set(main_src "secure_boot_main_esp32.c")
else()
set(main_src "secure_boot_main.c")
endif()
idf_component_register(SRCS "${main_src}" INCLUDE_DIRS ".")
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")