Files
obs-ffmpeg-encoder/ci/appveyor-build.bat
T
Michael Fabian 'Xaymar' Dirks 71e04315ca ci: Improved caching, re-use OBS dependencies and logging
Massively speeds up repeated builds by not relying on random undeterministic download speeds of the AppVeyor machines, in addition to reducing the stress on the remote end for each build done. Additionally the logging changes make it so that the errors and warnings are shown in the AppVeyor UI.
2018-11-25 21:42:07 +01:00

4 lines
693 B
Batchfile

cmake -H. -B"build/32" -G"Visual Studio 15 2017" -DCMAKE_INSTALL_PREFIX="%CD%/build/distrib" -DCMAKE_PACKAGE_PREFIX="%CD%/build" -DCMAKE_PACKAGE_NAME="obs-ffmpeg-encoder"
cmake -H. -B"build/64" -G"Visual Studio 15 2017 Win64" -T"host=x64" -DCMAKE_INSTALL_PREFIX="%CD%/build/distrib" -DCMAKE_PACKAGE_PREFIX="%CD%/build" -DCMAKE_PACKAGE_NAME="obs-ffmpeg-encoder" -DOBS_DEPENDENCIES_DIR="%CD%/build/32/obsdeps-src"
cmake --build build/32 --target INSTALL --config RelWithDebInfo -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
cmake --build build/64 --target INSTALL --config RelWithDebInfo -- /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"