GitHub CI [Win]: cineform build fix

Picked from master but genereator is selected explicitly - here perhaps
cmake from MSYS is used which defaults to Ninja.
This commit is contained in:
Martin Pulec
2021-09-29 15:41:20 +02:00
parent 6fefa9ab69
commit 30f39b7bc8

View File

@@ -65,6 +65,16 @@ if [ -n "$SDK_URL" ]; then
rm -rf VideoMaster
fi
build_cineform() {
(
git submodule update --init cineform-sdk
cd cineform-sdk
cmake -DBUILD_STATIC=false -DBUILD_TOOLS=false -A x64 -G 'Visual Studio 16 2019' .
cmake --build . --config Release --parallel
cp Release/CFHDCodec.dll /usr/local/bin && cp Release/CFHDCodec.lib /usr/local/lib && cp Common/* /usr/local/include && cp libcineformsdk.pc /usr/local/lib/pkgconfig
)
}
# Install SPOUT
wget --no-verbose https://frakira.fi.muni.cz/~xpulec/SpoutSDK.zip # this is the SDK subdirectory installed by Spout installer
unzip SpoutSDK.zip -d src
@@ -77,6 +87,4 @@ wget --no-verbose https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.
# Install GPUJPEG
( wget --no-verbose https://github.com/CESNET/GPUJPEG/releases/download/continuous/GPUJPEG.zip && unzip GPUJPEG.zip && cp -r GPUJPEG/* /usr/local )
# Build CineForm
( git submodule update --init cineform-sdk && cd cineform-sdk && cmake -DBUILD_STATIC=false -DBUILD_TOOLS=false -A x64 && MSBuild.exe CineFormSDK.sln -property:Configuration=Release && cp Release/CFHDCodec.dll /usr/local/bin && cp Release/CFHDCodec.lib /usr/local/lib && cp Common/* /usr/local/include && cp libcineformsdk.pc /usr/local/lib/pkgconfig )
build_cineform