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
invoke build --type release
invoke clean --type release
Start 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
popd
new-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
popd
In the Visual Studio menu select Build| Build Solution
In the Visual Studio menu select Build| Clean Solution