mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 05:04:33 +02:00
build system: re-add -Wno-format as private flag for some test_apps
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
idf_component_register(SRCS test_main.c)
|
idf_component_register(SRCS test_main.c)
|
||||||
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||||
|
@@ -1,2 +1,3 @@
|
|||||||
idf_component_register(SRCS "test_main.c"
|
idf_component_register(SRCS "test_main.c"
|
||||||
INCLUDE_DIRS ".")
|
INCLUDE_DIRS ".")
|
||||||
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||||
|
@@ -1,2 +1,3 @@
|
|||||||
idf_component_register(SRCS "mqtt_app.cpp"
|
idf_component_register(SRCS "mqtt_app.cpp"
|
||||||
INCLUDE_DIRS ".")
|
INCLUDE_DIRS ".")
|
||||||
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||||
|
@@ -1,2 +1,3 @@
|
|||||||
idf_component_register(SRCS "publish_test.c" "connect_test.c" "publish_connect_test.c"
|
idf_component_register(SRCS "publish_test.c" "connect_test.c" "publish_connect_test.c"
|
||||||
INCLUDE_DIRS ".")
|
INCLUDE_DIRS ".")
|
||||||
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||||
|
@@ -6,3 +6,4 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
idf_component_register(SRCS "${main_src}" INCLUDE_DIRS ".")
|
idf_component_register(SRCS "${main_src}" INCLUDE_DIRS ".")
|
||||||
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||||
|
@@ -1,2 +1,3 @@
|
|||||||
idf_component_register(SRCS "hello_world_main.c"
|
idf_component_register(SRCS "hello_world_main.c"
|
||||||
INCLUDE_DIRS "")
|
INCLUDE_DIRS "")
|
||||||
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||||
|
@@ -1,2 +1,3 @@
|
|||||||
idf_component_register(SRCS "hello_world_main.c"
|
idf_component_register(SRCS "hello_world_main.c"
|
||||||
INCLUDE_DIRS "")
|
INCLUDE_DIRS "")
|
||||||
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||||
|
@@ -27,3 +27,4 @@ idf_component_register(SRCS ${srcs}
|
|||||||
PRIV_INCLUDE_DIRS private_include
|
PRIV_INCLUDE_DIRS private_include
|
||||||
REQUIRES spi_flash idf_test cmock
|
REQUIRES spi_flash idf_test cmock
|
||||||
PRIV_REQUIRES perfmon driver esp_netif)
|
PRIV_REQUIRES perfmon driver esp_netif)
|
||||||
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||||
|
Reference in New Issue
Block a user