esp-idf/components/spiffs/host_test/main/CMakeLists.txt
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}\"")