esp-idf/examples/peripherals/spi_master/lcd/main/CMakeLists.txt

14 lines
314 B
CMake
Raw Normal View History

set(srcs "pretty_effect.c"
"spi_master_example_main.c"
)
# Only ESP32 has enough memory to do jpeg decoding
2019-08-06 05:59:26 -04:00
if(IDF_TARGET STREQUAL "esp32")
list(APPEND srcs "decode_image.c")
endif()
idf_component_register(SRCS ${srcs}
INCLUDE_DIRS "."
EMBED_FILES image.jpg)
2018-09-10 21:44:12 -04:00