NVIGI Public Source GitHub Pull-and-Build Scripts

The scripts in this pack will pull the NVIGI Core, SDK Plugins and 3D Sample from the public NVIGI GitHib repos, run setup as needed, cross-link them and build them. Most developers wanting to build source will use this as a starting point, modifying the scripts or copying parts of them into their own build process.

01_clone_all.bat

This script clones the three public repos (Core, Plugins, and 3D Sample) to sibling directories

Prerequisites

This script assumes your system is configured to be able to clone from public GutHub repos

02_build_pack_core.bat

This script sets up and builds all configs of the NVIGI Core (thus also creating a PDK), then packages a Runtime SDK.

Prerequisites

This script must be run from a VS2022 Developmer Command Prompt.

03_build_pack_plugins.bat

This script sets up and builds the desired config of the NVIGI SDK Plugins, then packages the headers and binaries. It also creates a link to the built, sibling Core directory (as a part of the setup step).

The script requires a single argument of Release, Debug or Production, e.g.

.\03_build_pack_plugins.bat Release

Prerequisites

This script must be run from a VS2022 Developmer Command Prompt and can only be run after 02_build_pack_core.bat has been run successfully.

04_build_sample.bat

This script sets up and builds the specified config of the NVIGI 3D Sample. It also creates a link to the built, sibling Core Runtime SDK and Plugins directory (as a part of the setup step).

The script requires a single argument of Release, Debug or Production, e.g.

.\04_build_sample.bat Release

Note that no matter which config is given, the SDK and Core DLLs copied into the _bin directory will be whatever was built by 03_build_pack_plugins.bat

Prerequisites

This script must be run from a VS2022 Developmer Command Prompt and can only be run after 02_build_pack_core.bat and 03_build_pack_plugins.bat have been run successfully.