mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-04-27 08:59:27 +01:00
11 lines
443 B
CMake
11 lines
443 B
CMake
idf_component_register( SRC_DIRS .
|
|
INCLUDE_DIRS .
|
|
PRIV_REQUIRES bootloader_support
|
|
)
|
|
|
|
target_link_libraries(${COMPONENT_LIB} INTERFACE "-Wl,--undefined=esp_app_desc")
|
|
idf_build_get_property(project_ver PROJECT_VER)
|
|
message("******************* ${project_ver}")
|
|
string(SUBSTRING "${project_ver}" 0 31 PROJECT_VER_CUT)
|
|
set_source_files_properties(recovery.c PROPERTIES COMPILE_DEFINITIONS "PROJECT_VER=\"${PROJECT_VER_CUT}\"")
|