mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Moved some BIGOBJ flags around
This commit is contained in:
parent
b373379e59
commit
f3a1f19dc0
@ -630,7 +630,7 @@ def CompileCxx(obj,src,opts):
|
|||||||
cmd = "cl "
|
cmd = "cl "
|
||||||
if (platform.architecture()[0]=="64bit"):
|
if (platform.architecture()[0]=="64bit"):
|
||||||
cmd += "/favor:blend "
|
cmd += "/favor:blend "
|
||||||
cmd += "/wd4996 /wd4275 /wd4267 /wd4101 /Fo" + obj + " /nologo /c "
|
cmd += "/wd4996 /wd4275 /wd4267 /wd4101 /Fo" + obj + " /nologo /c"
|
||||||
for x in ipath: cmd += " /I" + x
|
for x in ipath: cmd += " /I" + x
|
||||||
for (opt,dir) in INCDIRECTORIES:
|
for (opt,dir) in INCDIRECTORIES:
|
||||||
if (opt=="ALWAYS") or (opts.count(opt)): cmd += " /I" + BracketNameWithQuotes(dir)
|
if (opt=="ALWAYS") or (opts.count(opt)): cmd += " /I" + BracketNameWithQuotes(dir)
|
||||||
@ -647,7 +647,7 @@ def CompileCxx(obj,src,opts):
|
|||||||
building = GetValueOption(opts, "BUILDING:")
|
building = GetValueOption(opts, "BUILDING:")
|
||||||
if (building): cmd += " /DBUILDING_" + building
|
if (building): cmd += " /DBUILDING_" + building
|
||||||
if ("BIGOBJ" in opts): cmd += " /bigobj"
|
if ("BIGOBJ" in opts): cmd += " /bigobj"
|
||||||
cmd += " /EHsc /Zm300 /DWIN32_VC /DWIN32 /W3 " + BracketNameWithQuotes(src)
|
cmd += " /EHa /Zm300 /DWIN32_VC /DWIN32 /W3 " + BracketNameWithQuotes(src)
|
||||||
oscmd(cmd)
|
oscmd(cmd)
|
||||||
if (COMPILER=="LINUX"):
|
if (COMPILER=="LINUX"):
|
||||||
if (src.endswith(".c")): cmd = 'gcc -fPIC -c -o ' + obj
|
if (src.endswith(".c")): cmd = 'gcc -fPIC -c -o ' + obj
|
||||||
@ -2413,8 +2413,8 @@ if (not RUNTIME):
|
|||||||
#
|
#
|
||||||
|
|
||||||
if (not RUNTIME):
|
if (not RUNTIME):
|
||||||
OPTS=['DIR:panda/src/display', 'BUILDING:PANDA']
|
OPTS=['DIR:panda/src/display', 'BUILDING:PANDA', 'BIGOBJ']
|
||||||
TargetAdd('display_composite.obj', opts=OPTS+["BIGOBJ"], input='display_composite.cxx')
|
TargetAdd('display_composite.obj', opts=OPTS, input='display_composite.cxx')
|
||||||
IGATEFILES=GetDirectoryContents('panda/src/display', ["*.h", "*_composite.cxx"])
|
IGATEFILES=GetDirectoryContents('panda/src/display', ["*.h", "*_composite.cxx"])
|
||||||
IGATEFILES.remove("renderBuffer.h")
|
IGATEFILES.remove("renderBuffer.h")
|
||||||
TargetAdd('libdisplay.in', opts=OPTS, input=IGATEFILES)
|
TargetAdd('libdisplay.in', opts=OPTS, input=IGATEFILES)
|
||||||
@ -2431,7 +2431,7 @@ if (not RUNTIME):
|
|||||||
#
|
#
|
||||||
|
|
||||||
if (not RUNTIME):
|
if (not RUNTIME):
|
||||||
OPTS=['DIR:panda/src/device', 'BUILDING:PANDA']
|
OPTS=['DIR:panda/src/device', 'BUILDING:PANDA', 'BIGOBJ']
|
||||||
TargetAdd('device_composite.obj', opts=OPTS, input='device_composite.cxx')
|
TargetAdd('device_composite.obj', opts=OPTS, input='device_composite.cxx')
|
||||||
IGATEFILES=GetDirectoryContents('panda/src/device', ["*.h", "*_composite.cxx"])
|
IGATEFILES=GetDirectoryContents('panda/src/device', ["*.h", "*_composite.cxx"])
|
||||||
TargetAdd('libdevice.in', opts=OPTS, input=IGATEFILES)
|
TargetAdd('libdevice.in', opts=OPTS, input=IGATEFILES)
|
||||||
@ -2505,8 +2505,8 @@ if (not RUNTIME):
|
|||||||
#
|
#
|
||||||
|
|
||||||
if (not RUNTIME):
|
if (not RUNTIME):
|
||||||
OPTS=['DIR:panda/src/collide', 'BUILDING:PANDA']
|
OPTS=['DIR:panda/src/collide', 'BUILDING:PANDA', 'BIGOBJ']
|
||||||
TargetAdd('collide_composite.obj', opts=OPTS+["BIGOBJ"], input='collide_composite.cxx')
|
TargetAdd('collide_composite.obj', opts=OPTS, input='collide_composite.cxx')
|
||||||
IGATEFILES=GetDirectoryContents('panda/src/collide', ["*.h", "*_composite.cxx"])
|
IGATEFILES=GetDirectoryContents('panda/src/collide', ["*.h", "*_composite.cxx"])
|
||||||
TargetAdd('libcollide.in', opts=OPTS, input=IGATEFILES)
|
TargetAdd('libcollide.in', opts=OPTS, input=IGATEFILES)
|
||||||
TargetAdd('libcollide.in', opts=['IMOD:panda', 'ILIB:libcollide', 'SRCDIR:panda/src/collide'])
|
TargetAdd('libcollide.in', opts=['IMOD:panda', 'ILIB:libcollide', 'SRCDIR:panda/src/collide'])
|
||||||
@ -2529,8 +2529,8 @@ if (not RUNTIME):
|
|||||||
#
|
#
|
||||||
|
|
||||||
if (not RUNTIME):
|
if (not RUNTIME):
|
||||||
OPTS=['DIR:panda/src/pgui', 'BUILDING:PANDA']
|
OPTS=['DIR:panda/src/pgui', 'BUILDING:PANDA', 'BIGOBJ']
|
||||||
TargetAdd('pgui_composite.obj', opts=OPTS+["BIGOBJ"], input='pgui_composite.cxx')
|
TargetAdd('pgui_composite.obj', opts=OPTS, input='pgui_composite.cxx')
|
||||||
IGATEFILES=GetDirectoryContents('panda/src/pgui', ["*.h", "*_composite.cxx"])
|
IGATEFILES=GetDirectoryContents('panda/src/pgui', ["*.h", "*_composite.cxx"])
|
||||||
TargetAdd('libpgui.in', opts=OPTS, input=IGATEFILES)
|
TargetAdd('libpgui.in', opts=OPTS, input=IGATEFILES)
|
||||||
TargetAdd('libpgui.in', opts=['IMOD:panda', 'ILIB:libpgui', 'SRCDIR:panda/src/pgui'])
|
TargetAdd('libpgui.in', opts=['IMOD:panda', 'ILIB:libpgui', 'SRCDIR:panda/src/pgui'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user