Scripts are
PowerShell
The project comes with a pre-configured Visual Studio Code workspace which uses cmake and ninja as a build system.
Make sure you have done the setup for Windows
This is the recommended way for building and working with the sample code.
. .\configure.ps1.\scripts\build.ps1 --type release.\scripts\clean.ps1 --type releaseStart Visual Studio Code. Make sure you install the recommended workspace extensions when asked.
code .new-item -Force -ItemType Directory ./vs2017
pushd ./vs2017
cmake cmake -G "Visual Studio 15 2017" -A x64 -DPLATFORM=x64 ..
popd Open the project in Visual Studio:
pushd ./vs2017
start .\primo-avblocks-cpp.sln
popdnew-item -Force -ItemType Directory ./vs2019
pushd ./vs2019
cmake cmake -G "Visual Studio 16 2019" -A x64 -DPLATFORM=x64 ..
popd Open the project in Visual Studio:
pushd ./vs2019
start .\primo-avblocks-cpp.sln
popdnew-item -Force -ItemType Directory ./vs2022
pushd ./vs2022
cmake cmake -G "Visual Studio 17 2022" -A x64 -DPLATFORM=x64 ..
popd Open the project in Visual Studio:
pushd ./vs2022
start .\primo-avblocks-cpp.sln
popdIn the Visual Studio menu select Build| Build Solution
In the Visual Studio menu select Build| Clean Solution