mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-06 03:27:01 +03:00
39 lines
725 B
CMake
39 lines
725 B
CMake
|
|
|
|
idf_component_register( SRC_DIRS . external a1s tas57xx
|
|
INCLUDE_DIRS . a1s
|
|
PRIV_REQUIRES
|
|
codecs
|
|
newlib
|
|
esp_common
|
|
esp-dsp
|
|
platform_config
|
|
bluetooth
|
|
|
|
services
|
|
raop
|
|
display
|
|
)
|
|
|
|
|
|
|
|
set_source_files_properties(mad.c
|
|
PROPERTIES COMPILE_FLAGS
|
|
-Wno-maybe-uninitialized
|
|
)
|
|
set_source_files_properties(pcm.c
|
|
PROPERTIES COMPILE_FLAGS
|
|
-Wno-maybe-uninitialized
|
|
)
|
|
|
|
set_source_files_properties(flac.c
|
|
PROPERTIES COMPILE_FLAGS
|
|
-Wno-maybe-uninitialized
|
|
)
|
|
|
|
add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DRESAMPLE16 -DEMBEDDED -DTREMOR_ONLY -DBYTES_PER_FRAME=4)
|
|
add_compile_options (-O3 )
|
|
|
|
|
|
|
|
|