esp-idf/components/perfmon/test/CMakeLists.txt

11 wiersze
322 B
CMake

if(CONFIG_IDF_TARGET_ARCH_XTENSA)
list(APPEND src_dirs .)
endif()
idf_component_register(SRC_DIRS ${src_dirs}
PRIV_INCLUDE_DIRS "."
PRIV_REQUIRES cmock xtensa perfmon)
if(CONFIG_IDF_TARGET_ARCH_XTENSA)
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
endif()