esp-idf/examples/network/simple_sniffer/main/CMakeLists.txt

6 lines
246 B
CMake

idf_component_register(SRCS "simple_sniffer_example_main.c"
"cmd_sniffer.c"
"cmd_pcap.c"
INCLUDE_DIRS ".")
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")