mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Fix for status reports when --verbose is selected
This commit is contained in:
parent
ee7dfacecc
commit
0a8d7c5c5a
@ -97,7 +97,7 @@ def usage(problem):
|
|||||||
|
|
||||||
def parseopts(args):
|
def parseopts(args):
|
||||||
global INSTALLER,RUNTIME,GENMAN,DISTRIBUTOR
|
global INSTALLER,RUNTIME,GENMAN,DISTRIBUTOR
|
||||||
global VERSION,COMPRESSOR,VERBOSE,THREADCOUNT,VERBOSE
|
global VERSION,COMPRESSOR,THREADCOUNT
|
||||||
longopts = [
|
longopts = [
|
||||||
"help","distributor=","verbose",
|
"help","distributor=","verbose",
|
||||||
"optimize=","everything","nothing","installer","runtime",
|
"optimize=","everything","nothing","installer","runtime",
|
||||||
@ -530,8 +530,7 @@ IncDirectory("ALWAYS", GetOutputDir()+"/include")
|
|||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
def printStatus(header,warnings):
|
def printStatus(header,warnings):
|
||||||
global VERBOSE
|
if GetVerbose():
|
||||||
if VERBOSE:
|
|
||||||
print ""
|
print ""
|
||||||
print "-------------------------------------------------------------------"
|
print "-------------------------------------------------------------------"
|
||||||
print header
|
print header
|
||||||
|
@ -712,6 +712,9 @@ def SetOptimize(optimize):
|
|||||||
global OPTIMIZE
|
global OPTIMIZE
|
||||||
OPTIMIZE=optimize
|
OPTIMIZE=optimize
|
||||||
|
|
||||||
|
def GetVerbose():
|
||||||
|
return VERBOSE
|
||||||
|
|
||||||
def SetVerbose(verbose):
|
def SetVerbose(verbose):
|
||||||
global VERBOSE
|
global VERBOSE
|
||||||
VERBOSE=verbose
|
VERBOSE=verbose
|
||||||
|
Loading…
x
Reference in New Issue
Block a user