Skip to content

Commit

Permalink
add a verbosity arg to build.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Molodowitch committed Aug 12, 2019
1 parent ebc963f commit 1c85412
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,12 @@ def InstallMayaUSD(context, buildArgs, stages):
help=("CMake generator to use when building libraries with "
"cmake"))

parser.add_argument("-v", "--verbosity", type=int, default=verbosity,
help=("How much output to print while building: 0 = no "
"output; 1 = warnings + status; 2 = info; 3 = "
"command output and tracebacks (default: "
"%(default)s)"))

parser.add_argument("--build-location", type=str,
help=("Set Build directory "
"(default: <workspace_location>/build-location)"))
Expand Down Expand Up @@ -369,6 +375,7 @@ def InstallMayaUSD(context, buildArgs, stages):
.format(GetCPUCount())))

args = parser.parse_args()
verbosity = args.verbosity

############################################################
# InstallContext
Expand Down

0 comments on commit 1c85412

Please sign in to comment.