Explorar el Código

add version - release

Philippe G hace 4 años
padre
commit
a989fe06c2
Se han modificado 2 ficheros con 6 adiciones y 5 borrados
  1. 3 2
      components/squeezelite/CMakeLists.txt
  2. 3 3
      components/squeezelite/squeezelite.h

+ 3 - 2
components/squeezelite/CMakeLists.txt

@@ -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 ) 

+ 3 - 3
components/squeezelite/squeezelite.h

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