Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.06 KB

building.md

File metadata and controls

29 lines (20 loc) · 1.06 KB

This project uses Git Submodules for code shared with other projects.

You can fetch the submodules when you clone:

git clone --recurse-submodules https://github.com/saucecontrol/PhotoSauce

Or if you have already cloned, fetch the submodules with:

git submodule update --init

Fetch submodule changes with:

git submodule update --remote

The projects can then be built as normal with Visual Studio or dotnet CLI. The NuGet packages are built only under the Dist build configuration.

dotnet build src\MagicScaler -c Dist

Native codec binaries are built with vcpkg. See azure-pipelines.yml in the repo root for a working setup. Alternatively, pre-built native binaries can be retrieved from a recent CI run and extracted to [reporoot]\out\vcpkg\install Once native binaries are built or downloaded, the native codec plugin packages can be built as normal with dotnet build