Initial public release of the 2024A software.
This commit is contained in:
parent
7b9ad3edfd
commit
303e9e1dad
361 changed files with 60083 additions and 2 deletions
27
managed_components/chmorgan__esp-audio-player/CMakeLists.txt
Normal file
27
managed_components/chmorgan__esp-audio-player/CMakeLists.txt
Normal file
|
@ -0,0 +1,27 @@
|
|||
|
||||
set(srcs
|
||||
"audio_player.cpp"
|
||||
)
|
||||
|
||||
set(includes
|
||||
"include"
|
||||
)
|
||||
|
||||
set(requires "")
|
||||
|
||||
if(CONFIG_AUDIO_PLAYER_ENABLE_MP3)
|
||||
list(APPEND srcs "audio_mp3.cpp")
|
||||
endif()
|
||||
|
||||
# TODO: move inside of the 'if(CONFIG_AUDIO_PLAYER_ENABLE_MP3)' when everything builds correctly
|
||||
list(APPEND requires "esp-libhelix-mp3")
|
||||
|
||||
if(CONFIG_AUDIO_PLAYER_ENABLE_WAV)
|
||||
list(APPEND srcs "audio_wav.cpp")
|
||||
endif()
|
||||
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
REQUIRES "${requires}"
|
||||
INCLUDE_DIRS "${includes}"
|
||||
REQUIRES driver
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue