Skip to content

Commit

Permalink
主分支与实时分支统一版本
Browse files Browse the repository at this point in the history
  • Loading branch information
dujiangpku committed Aug 23, 2022
1 parent b4c1df4 commit ea40065
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
For more details, please view the file "COPYING" in the project.

# compile
The default configuration only support 8bit decoding. <br>
To support 10bit streams decoding:cmake -DCOMPILE_10BIT=1
The default configuration only support 8bit encoding. <br>
To support 10bit streams encoding: cmake -DCOMPILE_10BIT=1

## windows
Prerequisites:
Expand All @@ -25,7 +25,7 @@ build:
1. ./version.bat (to generate version.h)
2. solution file: build/x86_windows/uavs3e.sln

To support 10bit streams decoding, edit inc/com_api.h : #define COMPILE_10BIT 1
To support 10bit streams encoding, edit inc/com_api.h : #define COMPILE_10BIT 1

## linux
Prerequisites:
Expand All @@ -37,7 +37,7 @@ Build:
2. cd build/linux && cmake -DCOMPILE_10BIT=0 ../..
3. make && make install

To support 10bit streams decoding:cmake -DCOMPILE_10BIT=1
To support 10bit streams encoding: cmake -DCOMPILE_10BIT=1
to build shared library, set BUILD_SHARED_LIBS=1 please.

# Run tests
Expand Down
4 changes: 2 additions & 2 deletions version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ else
fi

VER_R=`git rev-list origin/master | sort | wc -l | gawk '{print $1}'`
VER_L=`git rev-list HEAD | sort | wc -l | gawk '{print $1}'`
VER_L=`git rev-list HEAD ^b4c1df4934b3097dba20746a4a54ef8633e47918| sort | wc -l | gawk '{print $1}'`
VER_SHA1=`git log -n 1 | head -n 1 | cut -d ' ' -f 2`

major_version="1"
minor_version="2"
minor_version="3"
type_version="release"

# generate the file version.h
Expand Down

0 comments on commit ea40065

Please sign in to comment.