Skip to content

Commit db08c08

Browse files
authored
Merge pull request #107 from baba-dev/codex/update-cmakelists.txt-for-component-registration
build(tab5): declare component dependencies
2 parents 20aef87 + 7342b23 commit db08c08

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

platforms/tab5/main/CMakeLists.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ file(GLOB_RECURSE MY_HAL_SRCS
1818
./hal/*.cpp
1919
)
2020

21-
idf_component_register(SRCS "app_main.cpp" ${APP_LAYER_SRCS} ${MY_HAL_SRCS}
22-
INCLUDE_DIRS "." ${APP_LAYER_INCS}
23-
EMBED_TXTFILES "../audio/canon_in_d.mp3" "../audio/startup_sfx.mp3" "../audio/shutdown_sfx.mp3")
21+
idf_component_register(
22+
SRCS "app_main.cpp" ${APP_LAYER_SRCS} ${MY_HAL_SRCS}
23+
INCLUDE_DIRS "." ${APP_LAYER_INCS}
24+
REQUIRES core backup_server connection_tester diag net_sntp ota_update settings_core
25+
settings_ui
26+
EMBED_TXTFILES "../audio/canon_in_d.mp3" "../audio/startup_sfx.mp3" "../audio/shutdown_sfx.mp3")
2427

2528
set(CUSTOM_ASSETS_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../custom/assets")
2629
get_filename_component(CUSTOM_ASSETS_DIR "${CUSTOM_ASSETS_DIR}" REALPATH)

0 commit comments

Comments
 (0)