add version - release

This commit is contained in:
Philippe G
2021-03-16 13:37:43 -07:00
parent 1b5a877b98
commit a989fe06c2
2 changed files with 6 additions and 5 deletions

View File

@@ -29,10 +29,11 @@ set_source_files_properties(flac.c
-Wno-maybe-uninitialized
)
add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DEMBEDDED -DTREMOR_ONLY -DCUSTOM_VERSION=${BUILD_NUMBER})
if(${DEPTH} EQUAL "32")
add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DEMBEDDED -DTREMOR_ONLY -DBYTES_PER_FRAME=8)
add_definitions(-DBYTES_PER_FRAME=8)
else()
add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DRESAMPLE16 -DEMBEDDED -DTREMOR_ONLY -DBYTES_PER_FRAME=4)
add_definitions(-DBYTES_PER_FRAME=4)
endif()
add_compile_options (-O3 )