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 -Wno-maybe-uninitialized
) )
add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DEMBEDDED -DTREMOR_ONLY -DCUSTOM_VERSION=${BUILD_NUMBER})
if(${DEPTH} EQUAL "32") if(${DEPTH} EQUAL "32")
add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DEMBEDDED -DTREMOR_ONLY -DBYTES_PER_FRAME=8) add_definitions(-DBYTES_PER_FRAME=8)
else() else()
add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DRESAMPLE16 -DEMBEDDED -DTREMOR_ONLY -DBYTES_PER_FRAME=4) add_definitions(-DBYTES_PER_FRAME=4)
endif() endif()
add_compile_options (-O3 ) add_compile_options (-O3 )

View File

@@ -24,9 +24,9 @@
// make may define: PORTAUDIO, SELFPIPE, RESAMPLE, RESAMPLE_MP, VISEXPORT, GPIO, IR, DSD, LINKALL to influence build // make may define: PORTAUDIO, SELFPIPE, RESAMPLE, RESAMPLE_MP, VISEXPORT, GPIO, IR, DSD, LINKALL to influence build
#define MAJOR_VERSION "1.9" #define MAJOR_VERSION "0"
#define MINOR_VERSION "2" #define MINOR_VERSION "0"
#define MICRO_VERSION "1145" #define MICRO_VERSION ""
#if defined(CUSTOM_VERSION) #if defined(CUSTOM_VERSION)
#define VERSION "v" MAJOR_VERSION "." MINOR_VERSION "-" MICRO_VERSION STR(CUSTOM_VERSION) #define VERSION "v" MAJOR_VERSION "." MINOR_VERSION "-" MICRO_VERSION STR(CUSTOM_VERSION)