-
Notifications
You must be signed in to change notification settings - Fork 6
Building
Tests can be run manually in the editor or in a built player. Batch building functionality has been included in this project to provide an easy-to-use script and build configuration system that can build a common set of configurations for testing. In addition, this system allows for multiple build configurations to be built at once to reduce overhead of managing multiple test build configurations. Finally, utilization of the batch builds will maintain a consistent set of build settings across test passes to reduce configuration errors.
Usage
The build scripts located in the root of this project are available to build the most common configurations of the project for testing across supported platforms. Scripts are available for Windows (.bat) and macOS (.command) in the BuildScripts folder. A Build Windows UI is available in the Editor to run batch builds and allow customization of the build configurations
Pass the location of the Unity executable to run from the command line:
Windows Example:
BuildWindows.bat <location of Unity.exe>
MacOS Example:
BuildmacOS.command <location of Unity.app>/Content/Unity...
The builds will be located in:
<Project Directory>\Builds\<Build Target>\<VR SDK>\<Stereo Rendering Method>-<Graphics API>
For example,
...\Builds\StandaloneWindows64\Oculus\Instancing-Direct3D11.exe
...\Builds\StandaloneWindows64\Oculus\MultiPass-Direct3D11.exe