makepanda: Don't make built/Frameworks directory unless needed

It is no longer needed if we don't ship Cg as a framework, see #1079

[skip ci]
This commit is contained in:
rdb 2020-12-21 22:08:45 +01:00
parent 310f3ca085
commit 5cd6469fd8
2 changed files with 2 additions and 4 deletions

View File

@ -3337,6 +3337,7 @@ if tp_dir is not None:
JustBuilt([target], [tp_lib]) JustBuilt([target], [tp_lib])
for fwx in glob.glob(tp_pkg + "/*.framework"): for fwx in glob.glob(tp_pkg + "/*.framework"):
MakeDirectory(GetOutputDir() + "/Frameworks")
CopyTree(GetOutputDir() + "/Frameworks/" + os.path.basename(fwx), fwx) CopyTree(GetOutputDir() + "/Frameworks/" + os.path.basename(fwx), fwx)
else: # Linux / FreeBSD case. else: # Linux / FreeBSD case.

View File

@ -1255,10 +1255,7 @@ def MakeBuildTree():
MakeDirectory(OUTPUTDIR + "/pandac/input") MakeDirectory(OUTPUTDIR + "/pandac/input")
MakeDirectory(OUTPUTDIR + "/panda3d") MakeDirectory(OUTPUTDIR + "/panda3d")
if GetTarget() == 'darwin': if GetTarget() == 'android':
MakeDirectory(OUTPUTDIR + "/Frameworks")
elif GetTarget() == 'android':
MakeDirectory(OUTPUTDIR + "/classes") MakeDirectory(OUTPUTDIR + "/classes")
######################################################################## ########################################################################