Scripts are
bash
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 macOS
This is the recommended way for building and working with the sample code.
Start bash (if your default shell is zsh or spmething else):
bashsource ./configure.sh./scripts/build.sh --type release./scripts/clean.sh --type releaseStart Visual Studio Code. Make sure you install the recommended workspace extensions when asked.
code .mkdir -p ./xcode
pushd ./xcode
cmake -G 'Xcode' -DCMAKE_BUILD_TYPE=Debug -DPLATFORM=x64 ..
popd Open the project in Xcode:
pushd ./xcode
open primo-avblocks-cpp.xcodeproj
popdIn the Xcode menu select Product | Scheme | ALL_BUILD
In the Xcode menu select Product | Build For | Running
In the Xcode menu select Product | Clean Build Folder