usdInitSchema - Man Page
manual page for usdInitSchema 25.05.01
Description
usage: usdInitSchema [-h] [-v] [-q] [--genModuleDeps] [-t TEMPLATEPATH]
codeGenPath libraryPath [pxrPrefix]
Set up build necessities for schema classes. This will generate templates for the CMakeLists.txt, __init__.py, schema.usda, module.cpp, and a user doc if they do not already exist.
positional arguments
- codeGenPath
The target directory where the code should be generated. Can be '.' for the current directory.
- libraryPath
The partial path with which to prefix '#include' statements of generated files for this module. For external (non-Pixar) plugins, we recommend setting libraryPath to ".", so that the headers inside src directory are included in the generated files.
- pxrPrefix
Prefix to the path from pxr to this library. For pxr/usd/usd, the prefix would be pxr/usd. Omit this argument for non-OpenUSD build systems.
options
- -h, --help
show this help message and exit
- -v, --validate
Verify that the source files are unchanged.
- -q, --quiet
Do not output text during execution.
- --genModuleDeps
Generates a template for the moduleDeps.cpp. This template will need to be filled in and kept up to date with library dependencies if you are not using the OpenUSD build system.
- -t, --templates TEMPLATEPATH
Directory containing schema class templates. [Default: first directory that exists from this list: /builddir/ build/BUILD/usd-25.05.01- build/BUILDROOT/usr/bin/codegenTemplates:/builddir/bui ld/BUILD/usd-25.05.01- build/BUILDROOT/usr/lib64/usd/usd/resources/codegenTem plates]