We're adding support for building FFmpeg/FFmpegInterop binaries without VCLibs framework package dependencies (e.g. msvcp140_app.dll, vcruntime140_1_app.dll, vcruntime140_app.dll).
Added --platform-type switch to BuildFFmpeg.bat that gets plumbed down to vcvarsall.bat to set up the build environment. FFmpeg binaries can be built without VCLibs framework package dependencies by not specifying --platform-type store or --platform-type uwp.
Updated FFmpegInterop project to support building without VCLibs framework package dependencies by setting the UseUCRT property.
Replaced usage of codecvt, which was deprecated in C++17, with C++/WinRT APIs.
Why is this change being made?
We're adding support for building FFmpeg/FFmpegInterop binaries without VCLibs framework package dependencies (e.g. msvcp140_app.dll, vcruntime140_1_app.dll, vcruntime140_app.dll).
Additional reading:
What changed?
--platform-type
switch to BuildFFmpeg.bat that gets plumbed down to vcvarsall.bat to set up the build environment. FFmpeg binaries can be built without VCLibs framework package dependencies by not specifying--platform-type store
or--platform-type uwp
.How was the change tested?
I validated the following scenarios for build configurations with and without VCLibs framework package dependencies:
I validated the removal of VCLibs framework package dependencies in all of the FFmpeg/FFmpegInterop binaries using depends.exe.