Files
esp-idf/examples/peripherals/spi_master/lcd/main/CMakeLists.txt
Frantisek Hrbata ad15109daa change(examples): explicitly specify component dependencies for examples
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 14:11:24 +01:00

10 lines
268 B
CMake

set(srcs "pretty_effect.c"
"spi_master_example_main.c"
"decode_image.c"
)
idf_component_register(SRCS ${srcs}
INCLUDE_DIRS "."
PRIV_REQUIRES esp_driver_spi esp_driver_gpio
EMBED_FILES image.jpg)