From 7bdc8b7a343c62d7045e4fd4adfc2bea529a7c29 Mon Sep 17 00:00:00 2001 From: Daniel Stankewitz Date: Wed, 14 Aug 2019 22:24:42 +0200 Subject: [PATCH] Update build_tc.sh --- build_tc.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build_tc.sh b/build_tc.sh index fd68e20..febfffc 100644 --- a/build_tc.sh +++ b/build_tc.sh @@ -43,6 +43,15 @@ if [ "$STEP" == "svt-av1" ]; then cp SvtAv1Enc.pc $BUILD/lib/pkgconfig/ cd $SRC/ffmpeg git apply ../svt-av1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch +elif [ "$STEP" == "svt-hevc" ]; then + cd $SRC/svt-hevc/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" /property:ConfigurationType="StaticLibrary" /property:TargetExt=".lib" Source/Lib/Encoder/SvtHevcEnc.vcxproj + cp -r ../Source/API $BUILD/include/svt-hevc + cp ../Bin/Release/$MSBUILD_CONFIG/SvtHevcEnc.lib $BUILD/lib/ + cp SvtHevcEnc.pc $BUILD/lib/pkgconfig/ + #cd $SRC/ffmpeg + #git apply ../svt-av1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch elif [ "$STEP" == "libmfx" ]; then cd $SRC/libmfx if [[ ! -f "configure" ]]; then