esp-idf/components/esp_partition/host_test/partition_api_test/main/CMakeLists.txt

6 wiersze
259 B
CMake

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