mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Fix custom outputdir code
This commit is contained in:
parent
87f57dd710
commit
4a380d4208
@ -197,7 +197,7 @@ if (RUNTIME or RTDIST):
|
|||||||
if (DISTRIBUTOR.strip() == ""):
|
if (DISTRIBUTOR.strip() == ""):
|
||||||
exit("You must provide a valid distributor name when making a runtime or rtdist build!")
|
exit("You must provide a valid distributor name when making a runtime or rtdist build!")
|
||||||
|
|
||||||
if (not CUSTOM_OUTPUTDIR):
|
if (not IsCustomOutputDir()):
|
||||||
if (RTDIST):
|
if (RTDIST):
|
||||||
SetOutputDir("built_" + DISTRIBUTOR.strip())
|
SetOutputDir("built_" + DISTRIBUTOR.strip())
|
||||||
elif (RUNTIME):
|
elif (RUNTIME):
|
||||||
|
@ -790,6 +790,9 @@ def SetVC90CRTVersion(fn, ver = None):
|
|||||||
def GetOutputDir():
|
def GetOutputDir():
|
||||||
return OUTPUTDIR
|
return OUTPUTDIR
|
||||||
|
|
||||||
|
def IsCustomOutputDir():
|
||||||
|
return CUSTOM_OUTPUTDIR
|
||||||
|
|
||||||
def SetOutputDir(outputdir):
|
def SetOutputDir(outputdir):
|
||||||
global OUTPUTDIR, CUSTOM_OUTPUTDIR
|
global OUTPUTDIR, CUSTOM_OUTPUTDIR
|
||||||
OUTPUTDIR=outputdir
|
OUTPUTDIR=outputdir
|
||||||
|
Loading…
x
Reference in New Issue
Block a user