mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
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:
parent
310f3ca085
commit
5cd6469fd8
@ -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.
|
||||||
|
@ -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")
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user