10 lines
424 B
CMake
10 lines
424 B
CMake
file(GLOB_RECURSE SOURCE_FILES Source/*.c)
|
|
set(CJSON_SOURCE "$ENV{IDF_PATH}/components/json/cJSON/cJSON.c")
|
|
|
|
idf_component_register(
|
|
SRCS ${SOURCE_FILES} ${CJSON_SOURCE}
|
|
INCLUDE_DIRS Source "$ENV{IDF_PATH}/components/json/cJSON"
|
|
REQUIRES TactilitySDK esp_http_client
|
|
)
|
|
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-format-truncation -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-variable)
|