Update build_tc.sh
This commit is contained in:
parent
1dd6e5f06c
commit
b507f0f5a6
@ -19,7 +19,7 @@ else
|
||||
fi
|
||||
|
||||
if [ ! -d "$BUILD" ]; then
|
||||
mkdir $BUILD $BUILD/include $BUILD/lib
|
||||
mkdir $BUILD $BUILD/include $BUILD/lib $BUILD/lib/pkgconfig
|
||||
fi
|
||||
|
||||
function compile {
|
||||
@ -35,8 +35,10 @@ function compile {
|
||||
if [ "$STEP" == "svt-av1" ]; then
|
||||
cd $SRC/svt-av1/Build
|
||||
cmake .. -G"Visual Studio 15 2017" -A x64 -DCMAKE_INSTALL_PREFIX=$BUILD -DCMAKE_CONFIGURATION_TYPES="Debug;Release"
|
||||
MSBuild.exe /maxcpucount:$CPU_CORES /property:Configuration="$MSBUILD_CONFIG" Source/Lib/Encoder/SvtAv1Enc.vcxproj
|
||||
# cd $SRC/ffmpeg
|
||||
MSBuild.exe /maxcpucount:$CPU_CORES /property:Configuration="$MSBUILD_CONFIG" /property:ConfigurationType="StaticLibrary" Source/Lib/Encoder/SvtAv1Enc.vcxproj
|
||||
cp ../Bin/Release/$MSBUILD_CONFIG/SvtAv1Enc.lib $BUILD/lib/
|
||||
cp SvtAv1Enc.pc $BUILD/lib/pkgconfig/
|
||||
cd $SRC/ffmpeg
|
||||
# patch -N -p1 -i ../../patches/0001-libsvt-av1.patch
|
||||
elif [ "$STEP" == "libmfx" ]; then
|
||||
cd $SRC/libmfx
|
||||
|
Loading…
x
Reference in New Issue
Block a user