Reference

usdInitSchema(1)

manual page for usdInitSchema 26.11.1

NAME

usdInitSchema - manual page for usdInitSchema 26.11.1

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: /build/usd /pkg/usd/usr/bin/codegenTemplates:/build/usd/pkg/usd/u sr/lib/usd/usd/resources/codegenTemplates]