Build a Project
Depending on the nature of your project, a ‘build step’ may be required as development progresses. Omniverse supports this step with a variety of scripts and tools that generate a representation of the final product, enabling subsequent testing, debugging, and packaging.
Python-only extensions do not require a build step.
Your project might simply be an Extension within another Application, consisting of purely Python code. If that’s the case, you can bypass the build step for the time being. However, if the complexity of your project increases or you decide to create a tailored Application around your extension, introducing a build step into your development process might become necessary.
The Repo Tool is your most likely method for building a Project. This tool operates on both Linux and Windows platforms, providing functionalities ranging from creating new extensions from a template to packaging your final build for distribution.
For access to the current list of available tools via Repo, you can use the following command in a terminal:
By Default, you can execute a build which compiles a release target by entering:
Other options include:
-r[default] will build only the release pipeline.
-dwill build only the debug pipeline.
-xwill delete all build files in the _build folder.
After executing a
repo build, a
_build folder is generated, containing targets that you’ve selected to build.
Within this directory, you will find a script file which loads the
.kit file that you created for your Project. Alternatively, if you created an Extension, a script file should be present to load the Application you added your Extension to.