1
0
mirror of https://github.com/espressif/esp-idf synced 2025-03-28 10:20:09 -04:00
2023-03-31 15:07:07 +08:00

7 lines
318 B
CMake

idf_component_register(SRCS "host_test_spiffs.c"
PRIV_INCLUDE_DIRS "../.." "../../spiffs/src"
REQUIRES spiffs unity)
# set BUILD_DIR because test uses a file created in the build directory
target_compile_definitions(${COMPONENT_LIB} PRIVATE "BUILD_DIR=\"${build_dir}\"")