2020-04-03 04:53:11 -04:00
|
|
|
idf_component_register(SRC_DIRS .
|
|
|
|
PRIV_INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR}
|
2020-08-04 22:16:32 -04:00
|
|
|
PRIV_REQUIRES cmock test_utils)
|
2020-04-03 04:53:11 -04:00
|
|
|
|
2021-08-27 03:28:48 -04:00
|
|
|
add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/test_tjpgd_logo.h"
|
|
|
|
COMMAND xxd -i "logo.jpg" "${CMAKE_CURRENT_BINARY_DIR}/test_tjpgd_logo.h"
|
|
|
|
WORKING_DIRECTORY ${COMPONENT_DIR}
|
|
|
|
DEPENDS "${CMAKE_CURRENT_LIST_DIR}/logo.jpg")
|
|
|
|
add_custom_target(test_logo DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/test_tjpgd_logo.h")
|
|
|
|
add_dependencies(${COMPONENT_LIB} test_logo)
|