|
@@ -80,7 +80,7 @@ PkgListSet(["PYTHON", "DIRECT", # Python support
|
|
|
"EGL", # OpenGL (ES) integration
|
|
"EGL", # OpenGL (ES) integration
|
|
|
"EIGEN", # Linear algebra acceleration
|
|
"EIGEN", # Linear algebra acceleration
|
|
|
"OPENAL", "FMODEX", # Audio playback
|
|
"OPENAL", "FMODEX", # Audio playback
|
|
|
- "FFMPEG", "SWSCALE", "SWRESAMPLE", # FFMpeg (audio decoding)
|
|
|
|
|
|
|
+ "VORBIS", "FFMPEG", "SWSCALE", "SWRESAMPLE", # Audio decoding
|
|
|
"ODE", "PHYSX", "BULLET", "PANDAPHYSICS", # Physics
|
|
"ODE", "PHYSX", "BULLET", "PANDAPHYSICS", # Physics
|
|
|
"SPEEDTREE", # SpeedTree
|
|
"SPEEDTREE", # SpeedTree
|
|
|
"ZLIB", "PNG", "JPEG", "TIFF", "SQUISH", "FREETYPE", # 2D Formats support
|
|
"ZLIB", "PNG", "JPEG", "TIFF", "SQUISH", "FREETYPE", # 2D Formats support
|
|
@@ -501,13 +501,12 @@ if (COMPILER == "MSVC"):
|
|
|
if (PkgSkip("DIRECTCAM")==0): LibName("DIRECTCAM", "quartz.lib")
|
|
if (PkgSkip("DIRECTCAM")==0): LibName("DIRECTCAM", "quartz.lib")
|
|
|
if (PkgSkip("DIRECTCAM")==0): LibName("DIRECTCAM", "odbc32.lib")
|
|
if (PkgSkip("DIRECTCAM")==0): LibName("DIRECTCAM", "odbc32.lib")
|
|
|
if (PkgSkip("DIRECTCAM")==0): LibName("DIRECTCAM", "odbccp32.lib")
|
|
if (PkgSkip("DIRECTCAM")==0): LibName("DIRECTCAM", "odbccp32.lib")
|
|
|
- if (PkgSkip("PNG")==0): LibName("PNG", GetThirdpartyDir() + "png/lib/libpandapng.lib")
|
|
|
|
|
- if (PkgSkip("JPEG")==0): LibName("JPEG", GetThirdpartyDir() + "jpeg/lib/libpandajpeg.lib")
|
|
|
|
|
|
|
+ if (PkgSkip("PNG")==0): LibName("PNG", GetThirdpartyDir() + "png/lib/libpng_static.lib")
|
|
|
|
|
+ if (PkgSkip("JPEG")==0): LibName("JPEG", GetThirdpartyDir() + "jpeg/lib/jpeg-static.lib")
|
|
|
if (PkgSkip("TIFF")==0): LibName("TIFF", GetThirdpartyDir() + "tiff/lib/libpandatiff.lib")
|
|
if (PkgSkip("TIFF")==0): LibName("TIFF", GetThirdpartyDir() + "tiff/lib/libpandatiff.lib")
|
|
|
- if (PkgSkip("ZLIB")==0): LibName("ZLIB", GetThirdpartyDir() + "zlib/lib/libpandazlib1.lib")
|
|
|
|
|
|
|
+ if (PkgSkip("ZLIB")==0): LibName("ZLIB", GetThirdpartyDir() + "zlib/lib/zlibstatic.lib")
|
|
|
if (PkgSkip("VRPN")==0): LibName("VRPN", GetThirdpartyDir() + "vrpn/lib/vrpn.lib")
|
|
if (PkgSkip("VRPN")==0): LibName("VRPN", GetThirdpartyDir() + "vrpn/lib/vrpn.lib")
|
|
|
if (PkgSkip("VRPN")==0): LibName("VRPN", GetThirdpartyDir() + "vrpn/lib/quat.lib")
|
|
if (PkgSkip("VRPN")==0): LibName("VRPN", GetThirdpartyDir() + "vrpn/lib/quat.lib")
|
|
|
- if (PkgSkip("FMODEX")==0): LibName("FMODEX", GetThirdpartyDir() + "fmodex/lib/fmodex_vc.lib")
|
|
|
|
|
if (PkgSkip("NVIDIACG")==0): LibName("CGGL", GetThirdpartyDir() + "nvidiacg/lib/cgGL.lib")
|
|
if (PkgSkip("NVIDIACG")==0): LibName("CGGL", GetThirdpartyDir() + "nvidiacg/lib/cgGL.lib")
|
|
|
if (PkgSkip("NVIDIACG")==0): LibName("CGDX9", GetThirdpartyDir() + "nvidiacg/lib/cgD3D9.lib")
|
|
if (PkgSkip("NVIDIACG")==0): LibName("CGDX9", GetThirdpartyDir() + "nvidiacg/lib/cgD3D9.lib")
|
|
|
if (PkgSkip("NVIDIACG")==0): LibName("NVIDIACG", GetThirdpartyDir() + "nvidiacg/lib/cg.lib")
|
|
if (PkgSkip("NVIDIACG")==0): LibName("NVIDIACG", GetThirdpartyDir() + "nvidiacg/lib/cg.lib")
|
|
@@ -517,7 +516,6 @@ if (COMPILER == "MSVC"):
|
|
|
if (PkgSkip("FFTW")==0): LibName("FFTW", GetThirdpartyDir() + "fftw/lib/rfftw.lib")
|
|
if (PkgSkip("FFTW")==0): LibName("FFTW", GetThirdpartyDir() + "fftw/lib/rfftw.lib")
|
|
|
if (PkgSkip("FFTW")==0): LibName("FFTW", GetThirdpartyDir() + "fftw/lib/fftw.lib")
|
|
if (PkgSkip("FFTW")==0): LibName("FFTW", GetThirdpartyDir() + "fftw/lib/fftw.lib")
|
|
|
if (PkgSkip("ARTOOLKIT")==0):LibName("ARTOOLKIT",GetThirdpartyDir() + "artoolkit/lib/libAR.lib")
|
|
if (PkgSkip("ARTOOLKIT")==0):LibName("ARTOOLKIT",GetThirdpartyDir() + "artoolkit/lib/libAR.lib")
|
|
|
- if (PkgSkip("ODE")==0): LibName("ODE", GetThirdpartyDir() + "ode/lib/ode.lib")
|
|
|
|
|
if (PkgSkip("FCOLLADA")==0): LibName("FCOLLADA", GetThirdpartyDir() + "fcollada/lib/FCollada.lib")
|
|
if (PkgSkip("FCOLLADA")==0): LibName("FCOLLADA", GetThirdpartyDir() + "fcollada/lib/FCollada.lib")
|
|
|
if (PkgSkip("SQUISH")==0): LibName("SQUISH", GetThirdpartyDir() + "squish/lib/squish.lib")
|
|
if (PkgSkip("SQUISH")==0): LibName("SQUISH", GetThirdpartyDir() + "squish/lib/squish.lib")
|
|
|
if (PkgSkip("OPENCV")==0): LibName("OPENCV", GetThirdpartyDir() + "opencv/lib/cv.lib")
|
|
if (PkgSkip("OPENCV")==0): LibName("OPENCV", GetThirdpartyDir() + "opencv/lib/cv.lib")
|
|
@@ -534,14 +532,19 @@ if (COMPILER == "MSVC"):
|
|
|
if (PkgSkip("ROCKET")==0):
|
|
if (PkgSkip("ROCKET")==0):
|
|
|
LibName("ROCKET", GetThirdpartyDir() + "rocket/lib/RocketCore.lib")
|
|
LibName("ROCKET", GetThirdpartyDir() + "rocket/lib/RocketCore.lib")
|
|
|
LibName("ROCKET", GetThirdpartyDir() + "rocket/lib/RocketControls.lib")
|
|
LibName("ROCKET", GetThirdpartyDir() + "rocket/lib/RocketControls.lib")
|
|
|
- LibName("ROCKET", GetThirdpartyDir() + "rocket/lib/boost_python-vc90-mt-1_48.lib")
|
|
|
|
|
|
|
+ if (PkgSkip("PYTHON")==0):
|
|
|
|
|
+ LibName("ROCKET", GetThirdpartyDir() + "rocket/lib/" + SDK["PYTHONVERSION"] + "/boost_python-vc100-mt-1_54.lib")
|
|
|
if (GetOptimize() <= 3):
|
|
if (GetOptimize() <= 3):
|
|
|
LibName("ROCKET", GetThirdpartyDir() + "rocket/lib/RocketDebugger.lib")
|
|
LibName("ROCKET", GetThirdpartyDir() + "rocket/lib/RocketDebugger.lib")
|
|
|
- if (PkgSkip("OPENAL")==0):
|
|
|
|
|
- if (os.path.exists(GetThirdpartyDir() + "openal/lib/pandaopenal32.lib")):
|
|
|
|
|
- LibName("OPENAL", GetThirdpartyDir() + "openal/lib/pandaopenal32.lib")
|
|
|
|
|
|
|
+ if (PkgSkip("OPENAL")==0): LibName("OPENAL", GetThirdpartyDir() + "openal/lib/OpenAL32.lib")
|
|
|
|
|
+ if (PkgSkip("ODE")==0):
|
|
|
|
|
+ LibName("ODE", GetThirdpartyDir() + "ode/lib/ode_single.lib")
|
|
|
|
|
+ DefSymbol("ODE", "dSINGLE", "")
|
|
|
|
|
+ if (PkgSkip("FMODEX")==0):
|
|
|
|
|
+ if (GetTargetArch() == 'x64'):
|
|
|
|
|
+ LibName("FMODEX", GetThirdpartyDir() + "fmodex/lib/fmodex64_vc.lib")
|
|
|
else:
|
|
else:
|
|
|
- LibName("OPENAL", GetThirdpartyDir() + "openal/lib/OpenAL32.lib")
|
|
|
|
|
|
|
+ LibName("FMODEX", GetThirdpartyDir() + "fmodex/lib/fmodex_vc.lib")
|
|
|
if (PkgSkip("WX")==0):
|
|
if (PkgSkip("WX")==0):
|
|
|
LibName("WX", GetThirdpartyDir() + "wx/lib/wxbase28u.lib")
|
|
LibName("WX", GetThirdpartyDir() + "wx/lib/wxbase28u.lib")
|
|
|
LibName("WX", GetThirdpartyDir() + "wx/lib/wxmsw28u_core.lib")
|
|
LibName("WX", GetThirdpartyDir() + "wx/lib/wxmsw28u_core.lib")
|
|
@@ -550,6 +553,10 @@ if (COMPILER == "MSVC"):
|
|
|
DefSymbol("WX", "UNICODE", "")
|
|
DefSymbol("WX", "UNICODE", "")
|
|
|
if (PkgSkip("FLTK")==0):
|
|
if (PkgSkip("FLTK")==0):
|
|
|
LibName("FLTK", GetThirdpartyDir() + "fltk/lib/fltk.lib")
|
|
LibName("FLTK", GetThirdpartyDir() + "fltk/lib/fltk.lib")
|
|
|
|
|
+ if (PkgSkip("VORBIS")==0):
|
|
|
|
|
+ LibName("VORBIS", GetThirdpartyDir() + "vorbis/lib/libogg_static.lib")
|
|
|
|
|
+ LibName("VORBIS", GetThirdpartyDir() + "vorbis/lib/libvorbis_static.lib")
|
|
|
|
|
+ LibName("VORBIS", GetThirdpartyDir() + "vorbis/lib/libvorbisfile_static.lib")
|
|
|
for pkg in MAYAVERSIONS:
|
|
for pkg in MAYAVERSIONS:
|
|
|
if (PkgSkip(pkg)==0):
|
|
if (PkgSkip(pkg)==0):
|
|
|
LibName(pkg, '"' + SDK[pkg] + '/lib/Foundation.lib"')
|
|
LibName(pkg, '"' + SDK[pkg] + '/lib/Foundation.lib"')
|
|
@@ -578,15 +585,15 @@ if (COMPILER == "MSVC"):
|
|
|
AddToPathEnv("PATH", SDK["PHYSX"]+"/../Bin/win32/")
|
|
AddToPathEnv("PATH", SDK["PHYSX"]+"/../Bin/win32/")
|
|
|
if (PkgSkip("SPEEDTREE")==0):
|
|
if (PkgSkip("SPEEDTREE")==0):
|
|
|
if GetTargetArch() == 'x64':
|
|
if GetTargetArch() == 'x64':
|
|
|
- libdir = SDK["SPEEDTREE"] + "/Lib/Windows/VC9.x64/"
|
|
|
|
|
|
|
+ libdir = SDK["SPEEDTREE"] + "/Lib/Windows/VC10.x64/"
|
|
|
p64ext = '64'
|
|
p64ext = '64'
|
|
|
else:
|
|
else:
|
|
|
- libdir = SDK["SPEEDTREE"] + "/Lib/Windows/VC9/"
|
|
|
|
|
|
|
+ libdir = SDK["SPEEDTREE"] + "/Lib/Windows/VC10/"
|
|
|
p64ext = ''
|
|
p64ext = ''
|
|
|
|
|
|
|
|
debugext = ''
|
|
debugext = ''
|
|
|
if (GetOptimize() <= 2): debugext = "_d"
|
|
if (GetOptimize() <= 2): debugext = "_d"
|
|
|
- libsuffix = "_v%s_VC90MT%s_Static%s.lib" % (
|
|
|
|
|
|
|
+ libsuffix = "_v%s_VC100MT%s_Static%s.lib" % (
|
|
|
SDK["SPEEDTREEVERSION"], p64ext, debugext)
|
|
SDK["SPEEDTREEVERSION"], p64ext, debugext)
|
|
|
LibName("SPEEDTREE", "%sSpeedTreeCore%s" % (libdir, libsuffix))
|
|
LibName("SPEEDTREE", "%sSpeedTreeCore%s" % (libdir, libsuffix))
|
|
|
LibName("SPEEDTREE", "%sSpeedTreeForest%s" % (libdir, libsuffix))
|
|
LibName("SPEEDTREE", "%sSpeedTreeForest%s" % (libdir, libsuffix))
|
|
@@ -597,10 +604,13 @@ if (COMPILER == "MSVC"):
|
|
|
LibName("SPEEDTREE", "glu32.lib")
|
|
LibName("SPEEDTREE", "glu32.lib")
|
|
|
IncDirectory("SPEEDTREE", SDK["SPEEDTREE"] + "/Include")
|
|
IncDirectory("SPEEDTREE", SDK["SPEEDTREE"] + "/Include")
|
|
|
if (PkgSkip("BULLET")==0):
|
|
if (PkgSkip("BULLET")==0):
|
|
|
- LibName("BULLET", GetThirdpartyDir() + "bullet/lib/LinearMath.lib")
|
|
|
|
|
- LibName("BULLET", GetThirdpartyDir() + "bullet/lib/BulletCollision.lib")
|
|
|
|
|
- LibName("BULLET", GetThirdpartyDir() + "bullet/lib/BulletDynamics.lib")
|
|
|
|
|
- LibName("BULLET", GetThirdpartyDir() + "bullet/lib/BulletSoftBody.lib")
|
|
|
|
|
|
|
+ suffix = '.lib'
|
|
|
|
|
+ if GetTargetArch() == 'x64':
|
|
|
|
|
+ suffix = '_x64.lib'
|
|
|
|
|
+ LibName("BULLET", GetThirdpartyDir() + "bullet/lib/LinearMath" + suffix)
|
|
|
|
|
+ LibName("BULLET", GetThirdpartyDir() + "bullet/lib/BulletCollision" + suffix)
|
|
|
|
|
+ LibName("BULLET", GetThirdpartyDir() + "bullet/lib/BulletDynamics" + suffix)
|
|
|
|
|
+ LibName("BULLET", GetThirdpartyDir() + "bullet/lib/BulletSoftBody" + suffix)
|
|
|
|
|
|
|
|
if (COMPILER=="GCC"):
|
|
if (COMPILER=="GCC"):
|
|
|
PkgDisable("AWESOMIUM")
|
|
PkgDisable("AWESOMIUM")
|
|
@@ -665,6 +675,7 @@ if (COMPILER=="GCC"):
|
|
|
SmartPkgEnable("TIFF", "", ("tiff"), "tiff.h")
|
|
SmartPkgEnable("TIFF", "", ("tiff"), "tiff.h")
|
|
|
SmartPkgEnable("VRPN", "", ("vrpn", "quat"), ("vrpn", "quat.h", "vrpn/vrpn_Types.h"))
|
|
SmartPkgEnable("VRPN", "", ("vrpn", "quat"), ("vrpn", "quat.h", "vrpn/vrpn_Types.h"))
|
|
|
SmartPkgEnable("BULLET", "bullet", ("BulletSoftBody", "BulletDynamics", "BulletCollision", "LinearMath"), ("bullet", "bullet/btBulletDynamicsCommon.h"))
|
|
SmartPkgEnable("BULLET", "bullet", ("BulletSoftBody", "BulletDynamics", "BulletCollision", "LinearMath"), ("bullet", "bullet/btBulletDynamicsCommon.h"))
|
|
|
|
|
+ SmartPkgEnable("VORBIS", "vorbisfile",("vorbisfile", "vorbis", "ogg"), ("ogg/ogg.h", "vorbis/vorbisfile.h"))
|
|
|
|
|
|
|
|
rocket_libs = ("RocketCore", "RocketControls")
|
|
rocket_libs = ("RocketCore", "RocketControls")
|
|
|
if (GetOptimize() <= 3):
|
|
if (GetOptimize() <= 3):
|
|
@@ -801,7 +812,6 @@ if (COMPILER=="GCC"):
|
|
|
LibName("PHYSX", "-lPhysXLoader")
|
|
LibName("PHYSX", "-lPhysXLoader")
|
|
|
LibName("PHYSX", "-lNxCharacter")
|
|
LibName("PHYSX", "-lNxCharacter")
|
|
|
|
|
|
|
|
-DefSymbol("ALWAYS", "MAKEPANDA", "")
|
|
|
|
|
DefSymbol("WITHINPANDA", "WITHIN_PANDA", "1")
|
|
DefSymbol("WITHINPANDA", "WITHIN_PANDA", "1")
|
|
|
if GetLinkAllStatic():
|
|
if GetLinkAllStatic():
|
|
|
DefSymbol("ALWAYS", "LINK_ALL_STATIC", "")
|
|
DefSymbol("ALWAYS", "LINK_ALL_STATIC", "")
|
|
@@ -951,7 +961,7 @@ def CompileCxx(obj,src,opts):
|
|
|
cmd += " /QxHost" # compile for target host; Compiling for distribs should probably strictly enforce /arch:..
|
|
cmd += " /QxHost" # compile for target host; Compiling for distribs should probably strictly enforce /arch:..
|
|
|
cmd += " /Quse-intel-optimized-headers" # use intel optimized headers
|
|
cmd += " /Quse-intel-optimized-headers" # use intel optimized headers
|
|
|
cmd += " /Qparallel" # enable parallelization
|
|
cmd += " /Qparallel" # enable parallelization
|
|
|
- cmd += " /Qvc9" # for Microsoft Visual C++ 2008
|
|
|
|
|
|
|
+ cmd += " /Qvc10" # for Microsoft Visual C++ 2010
|
|
|
|
|
|
|
|
## PCH files coexistence: the /Qpchi option causes the Intel C++ Compiler to name its
|
|
## PCH files coexistence: the /Qpchi option causes the Intel C++ Compiler to name its
|
|
|
## PCH files with a .pchi filename suffix and reduce build time.
|
|
## PCH files with a .pchi filename suffix and reduce build time.
|
|
@@ -1152,16 +1162,17 @@ def CompileIgate(woutd,wsrc,opts):
|
|
|
# If we're compiling for this platform, we can use the one we've built.
|
|
# If we're compiling for this platform, we can use the one we've built.
|
|
|
cmd = os.path.join(GetOutputDir(), 'bin', 'interrogate')
|
|
cmd = os.path.join(GetOutputDir(), 'bin', 'interrogate')
|
|
|
else:
|
|
else:
|
|
|
|
|
+ # Assume that interrogate is on the PATH somewhere.
|
|
|
cmd = 'interrogate'
|
|
cmd = 'interrogate'
|
|
|
|
|
|
|
|
cmd += ' -srcdir %s -I%s -Dvolatile -Dmutable' % (srcdir, srcdir)
|
|
cmd += ' -srcdir %s -I%s -Dvolatile -Dmutable' % (srcdir, srcdir)
|
|
|
if (COMPILER=="MSVC"):
|
|
if (COMPILER=="MSVC"):
|
|
|
cmd += ' -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__inline -longlong __int64 -D_X86_ -DWIN32_VC -D_WIN32'
|
|
cmd += ' -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__inline -longlong __int64 -D_X86_ -DWIN32_VC -D_WIN32'
|
|
|
- #NOTE: this 1500 value is the version number for VC2008.
|
|
|
|
|
- cmd += ' -D_MSC_VER=1500 -D"_declspec(param)=" -D_near -D_far -D__near -D__far -D__stdcall'
|
|
|
|
|
|
|
+ # NOTE: this 1600 value is the version number for VC2010.
|
|
|
|
|
+ cmd += ' -D_MSC_VER=1600 -D"_declspec(param)=" -D_near -D_far -D__near -D__far -D__stdcall'
|
|
|
if (COMPILER=="GCC"):
|
|
if (COMPILER=="GCC"):
|
|
|
cmd += ' -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__inline -D__const=const'
|
|
cmd += ' -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__inline -D__const=const'
|
|
|
- if is_64:
|
|
|
|
|
|
|
+ if GetTargetArch() in ("x86_64", "amd64"):
|
|
|
cmd += ' -D_LP64'
|
|
cmd += ' -D_LP64'
|
|
|
else:
|
|
else:
|
|
|
cmd += ' -D__i386__'
|
|
cmd += ' -D__i386__'
|
|
@@ -1219,6 +1230,7 @@ def CompileImod(wobj, wsrc, opts):
|
|
|
# If we're compiling for this platform, we can use the one we've built.
|
|
# If we're compiling for this platform, we can use the one we've built.
|
|
|
cmd = os.path.join(GetOutputDir(), 'bin', 'interrogate_module')
|
|
cmd = os.path.join(GetOutputDir(), 'bin', 'interrogate_module')
|
|
|
else:
|
|
else:
|
|
|
|
|
+ # Assume that interrogate_module is on the PATH somewhere.
|
|
|
cmd = 'interrogate_module'
|
|
cmd = 'interrogate_module'
|
|
|
|
|
|
|
|
cmd += ' -oc ' + woutc + ' -module ' + module + ' -library ' + library + ' -python-native '
|
|
cmd += ' -oc ' + woutc + ' -module ' + module + ' -library ' + library + ' -python-native '
|
|
@@ -1237,7 +1249,7 @@ def CompileLib(lib, obj, opts):
|
|
|
if (COMPILER=="MSVC"):
|
|
if (COMPILER=="MSVC"):
|
|
|
if not BOOUSEINTELCOMPILER:
|
|
if not BOOUSEINTELCOMPILER:
|
|
|
#Use MSVC Linker
|
|
#Use MSVC Linker
|
|
|
- cmd = 'link /lib /nologo /MANIFEST '
|
|
|
|
|
|
|
+ cmd = 'link /lib /nologo '
|
|
|
if GetTargetArch() == 'x64':
|
|
if GetTargetArch() == 'x64':
|
|
|
cmd += "/MACHINE:X64 "
|
|
cmd += "/MACHINE:X64 "
|
|
|
cmd += '/OUT:' + BracketNameWithQuotes(lib)
|
|
cmd += '/OUT:' + BracketNameWithQuotes(lib)
|
|
@@ -1251,7 +1263,7 @@ def CompileLib(lib, obj, opts):
|
|
|
cmd += '/OUT:' + BracketNameWithQuotes(lib)
|
|
cmd += '/OUT:' + BracketNameWithQuotes(lib)
|
|
|
for x in obj: cmd += ' ' + BracketNameWithQuotes(x)
|
|
for x in obj: cmd += ' ' + BracketNameWithQuotes(x)
|
|
|
cmd += ' /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\ipp\lib\ia32"'
|
|
cmd += ' /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\ipp\lib\ia32"'
|
|
|
- cmd += ' /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\TBB\Lib\ia32\vc9"'
|
|
|
|
|
|
|
+ cmd += ' /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\TBB\Lib\ia32\vc10"'
|
|
|
cmd += ' /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\compiler\lib\ia32"'
|
|
cmd += ' /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\compiler\lib\ia32"'
|
|
|
oscmd(cmd)
|
|
oscmd(cmd)
|
|
|
|
|
|
|
@@ -1275,7 +1287,7 @@ def CompileLib(lib, obj, opts):
|
|
|
def CompileLink(dll, obj, opts):
|
|
def CompileLink(dll, obj, opts):
|
|
|
if (COMPILER=="MSVC"):
|
|
if (COMPILER=="MSVC"):
|
|
|
if not BOOUSEINTELCOMPILER:
|
|
if not BOOUSEINTELCOMPILER:
|
|
|
- cmd = "link /nologo /manifest "
|
|
|
|
|
|
|
+ cmd = "link /nologo "
|
|
|
if GetTargetArch() == 'x64':
|
|
if GetTargetArch() == 'x64':
|
|
|
cmd += " /MACHINE:X64"
|
|
cmd += " /MACHINE:X64"
|
|
|
if ("MFC" not in opts):
|
|
if ("MFC" not in opts):
|
|
@@ -1289,8 +1301,8 @@ def CompileLink(dll, obj, opts):
|
|
|
if (optlevel==3): cmd += " /MAP:NUL /NOD:MSVCRTD.LIB /NOD:MSVCPRTD.LIB /NOD:MSVCIRTD.LIB"
|
|
if (optlevel==3): cmd += " /MAP:NUL /NOD:MSVCRTD.LIB /NOD:MSVCPRTD.LIB /NOD:MSVCIRTD.LIB"
|
|
|
if (optlevel==4): cmd += " /MAP:NUL /LTCG /NOD:MSVCRTD.LIB /NOD:MSVCPRTD.LIB /NOD:MSVCIRTD.LIB"
|
|
if (optlevel==4): cmd += " /MAP:NUL /LTCG /NOD:MSVCRTD.LIB /NOD:MSVCPRTD.LIB /NOD:MSVCIRTD.LIB"
|
|
|
if ("MFC" in opts):
|
|
if ("MFC" in opts):
|
|
|
- if (optlevel<=2): cmd += " /NOD:MSVCRTD.LIB mfcs90d.lib MSVCRTD.lib"
|
|
|
|
|
- else: cmd += " /NOD:MSVCRT.LIB mfcs90.lib MSVCRT.lib"
|
|
|
|
|
|
|
+ if (optlevel<=2): cmd += " /NOD:MSVCRTD.LIB mfcs100d.lib MSVCRTD.lib"
|
|
|
|
|
+ else: cmd += " /NOD:MSVCRT.LIB mfcs100.lib MSVCRT.lib"
|
|
|
cmd += " /FIXED:NO /OPT:REF /STACK:4194304 /INCREMENTAL:NO "
|
|
cmd += " /FIXED:NO /OPT:REF /STACK:4194304 /INCREMENTAL:NO "
|
|
|
cmd += ' /OUT:' + BracketNameWithQuotes(dll)
|
|
cmd += ' /OUT:' + BracketNameWithQuotes(dll)
|
|
|
subsystem = GetValueOption(opts, "SUBSYSTEM:")
|
|
subsystem = GetValueOption(opts, "SUBSYSTEM:")
|
|
@@ -1317,11 +1329,6 @@ def CompileLink(dll, obj, opts):
|
|
|
for (opt, name) in LIBNAMES:
|
|
for (opt, name) in LIBNAMES:
|
|
|
if (opt=="ALWAYS") or (opt in opts): cmd += " " + BracketNameWithQuotes(name)
|
|
if (opt=="ALWAYS") or (opt in opts): cmd += " " + BracketNameWithQuotes(name)
|
|
|
oscmd(cmd)
|
|
oscmd(cmd)
|
|
|
- SetVC90CRTVersion(dll+".manifest")
|
|
|
|
|
- mtcmd = "mt -manifest " + dll + ".manifest -outputresource:" + dll
|
|
|
|
|
- if (dll.endswith(".exe")==0): mtcmd = mtcmd + ";2"
|
|
|
|
|
- else: mtcmd = mtcmd + ";1"
|
|
|
|
|
- oscmd(mtcmd, ignoreError=True) # HACK: For some reason, mt sometimes gives a non-zero return value, even when it works
|
|
|
|
|
else:
|
|
else:
|
|
|
cmd = "xilink"
|
|
cmd = "xilink"
|
|
|
if GetVerbose(): cmd += " /verbose:lib"
|
|
if GetVerbose(): cmd += " /verbose:lib"
|
|
@@ -1332,7 +1339,7 @@ def CompileLink(dll, obj, opts):
|
|
|
cmd += " /NOD:LIBCI.LIB /DEBUG"
|
|
cmd += " /NOD:LIBCI.LIB /DEBUG"
|
|
|
cmd += " /nod:libc /nod:libcmtd /nod:atlthunk /nod:atls"
|
|
cmd += " /nod:libc /nod:libcmtd /nod:atlthunk /nod:atls"
|
|
|
cmd += ' /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\ipp\lib\ia32"'
|
|
cmd += ' /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\ipp\lib\ia32"'
|
|
|
- cmd += ' /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\TBB\Lib\ia32\vc9"'
|
|
|
|
|
|
|
+ cmd += ' /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\TBB\Lib\ia32\vc10"'
|
|
|
cmd += ' /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\compiler\lib\ia32"'
|
|
cmd += ' /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE 2011 SP1\compiler\lib\ia32"'
|
|
|
if (GetOrigExt(dll) != ".exe"): cmd += " /DLL"
|
|
if (GetOrigExt(dll) != ".exe"): cmd += " /DLL"
|
|
|
optlevel = GetOptimizeOption(opts)
|
|
optlevel = GetOptimizeOption(opts)
|
|
@@ -1341,8 +1348,8 @@ def CompileLink(dll, obj, opts):
|
|
|
if (optlevel==3): cmd += " /MAP:NUL /NOD:MSVCRTD.LIB /NOD:MSVCPRTD.LIB /NOD:MSVCIRTD.LIB"
|
|
if (optlevel==3): cmd += " /MAP:NUL /NOD:MSVCRTD.LIB /NOD:MSVCPRTD.LIB /NOD:MSVCIRTD.LIB"
|
|
|
if (optlevel==4): cmd += " /MAP:NUL /LTCG /NOD:MSVCRTD.LIB /NOD:MSVCPRTD.LIB /NOD:MSVCIRTD.LIB"
|
|
if (optlevel==4): cmd += " /MAP:NUL /LTCG /NOD:MSVCRTD.LIB /NOD:MSVCPRTD.LIB /NOD:MSVCIRTD.LIB"
|
|
|
if ("MFC" in opts):
|
|
if ("MFC" in opts):
|
|
|
- if (optlevel<=2): cmd += " /NOD:MSVCRTD.LIB mfcs90d.lib MSVCRTD.lib"
|
|
|
|
|
- else: cmd += " /NOD:MSVCRT.LIB mfcs90.lib MSVCRT.lib"
|
|
|
|
|
|
|
+ if (optlevel<=2): cmd += " /NOD:MSVCRTD.LIB mfcs100d.lib MSVCRTD.lib"
|
|
|
|
|
+ else: cmd += " /NOD:MSVCRT.LIB mfcs100.lib MSVCRT.lib"
|
|
|
cmd += " /FIXED:NO /OPT:REF /STACK:4194304 /INCREMENTAL:NO "
|
|
cmd += " /FIXED:NO /OPT:REF /STACK:4194304 /INCREMENTAL:NO "
|
|
|
cmd += ' /OUT:' + BracketNameWithQuotes(dll)
|
|
cmd += ' /OUT:' + BracketNameWithQuotes(dll)
|
|
|
subsystem = GetValueOption(opts, "SUBSYSTEM:")
|
|
subsystem = GetValueOption(opts, "SUBSYSTEM:")
|
|
@@ -1369,11 +1376,6 @@ def CompileLink(dll, obj, opts):
|
|
|
for (opt, name) in LIBNAMES:
|
|
for (opt, name) in LIBNAMES:
|
|
|
if (opt=="ALWAYS") or (opt in opts): cmd += " " + BracketNameWithQuotes(name)
|
|
if (opt=="ALWAYS") or (opt in opts): cmd += " " + BracketNameWithQuotes(name)
|
|
|
oscmd(cmd)
|
|
oscmd(cmd)
|
|
|
- SetVC90CRTVersion(dll+".manifest")
|
|
|
|
|
- mtcmd = "mt -manifest " + dll + ".manifest -outputresource:" + dll
|
|
|
|
|
- if (dll.endswith(".exe")==0): mtcmd = mtcmd + ";2"
|
|
|
|
|
- else: mtcmd = mtcmd + ";1"
|
|
|
|
|
- oscmd(mtcmd, ignoreError=True) # HACK: For some reason, mt sometimes gives a non-zero return value, even when it works
|
|
|
|
|
|
|
|
|
|
if COMPILER == "GCC":
|
|
if COMPILER == "GCC":
|
|
|
cxx = GetCXX()
|
|
cxx = GetCXX()
|
|
@@ -1911,7 +1913,7 @@ DTOOL_CONFIG=[
|
|
|
("HAVE_SOFTIMAGE_PIC", '1', '1'),
|
|
("HAVE_SOFTIMAGE_PIC", '1', '1'),
|
|
|
("HAVE_BMP", '1', '1'),
|
|
("HAVE_BMP", '1', '1'),
|
|
|
("HAVE_PNM", '1', '1'),
|
|
("HAVE_PNM", '1', '1'),
|
|
|
- ("HAVE_VRPN", 'UNDEF', 'UNDEF'),
|
|
|
|
|
|
|
+ ("HAVE_VORBIS", 'UNDEF', 'UNDEF'),
|
|
|
("HAVE_FMODEX", 'UNDEF', 'UNDEF'),
|
|
("HAVE_FMODEX", 'UNDEF', 'UNDEF'),
|
|
|
("HAVE_OPENAL", 'UNDEF', 'UNDEF'),
|
|
("HAVE_OPENAL", 'UNDEF', 'UNDEF'),
|
|
|
("HAVE_NVIDIACG", 'UNDEF', 'UNDEF'),
|
|
("HAVE_NVIDIACG", 'UNDEF', 'UNDEF'),
|
|
@@ -2507,6 +2509,8 @@ CopyAllHeaders('panda/src/grutil')
|
|
|
if (PkgSkip("VISION")==0):
|
|
if (PkgSkip("VISION")==0):
|
|
|
CopyAllHeaders('panda/src/vision')
|
|
CopyAllHeaders('panda/src/vision')
|
|
|
CopyAllHeaders('panda/src/awesomium')
|
|
CopyAllHeaders('panda/src/awesomium')
|
|
|
|
|
+if (PkgSkip("FFMPEG")==0):
|
|
|
|
|
+ CopyAllHeaders('panda/src/ffmpeg')
|
|
|
CopyAllHeaders('panda/src/tform')
|
|
CopyAllHeaders('panda/src/tform')
|
|
|
CopyAllHeaders('panda/src/collide')
|
|
CopyAllHeaders('panda/src/collide')
|
|
|
CopyAllHeaders('panda/src/parametrics')
|
|
CopyAllHeaders('panda/src/parametrics')
|
|
@@ -3213,9 +3217,8 @@ if (not RUNTIME):
|
|
|
#
|
|
#
|
|
|
|
|
|
|
|
if (not RUNTIME):
|
|
if (not RUNTIME):
|
|
|
- OPTS=['DIR:panda/src/movies', 'BUILDING:PANDA', 'FFMPEG']
|
|
|
|
|
|
|
+ OPTS=['DIR:panda/src/movies', 'BUILDING:PANDA', 'VORBIS']
|
|
|
TargetAdd('p3movies_composite1.obj', opts=OPTS, input='p3movies_composite1.cxx')
|
|
TargetAdd('p3movies_composite1.obj', opts=OPTS, input='p3movies_composite1.cxx')
|
|
|
- TargetAdd('p3movies_composite2.obj', opts=OPTS, input='p3movies_composite2.cxx')
|
|
|
|
|
IGATEFILES=GetDirectoryContents('panda/src/movies', ["*.h", "*_composite*.cxx"])
|
|
IGATEFILES=GetDirectoryContents('panda/src/movies', ["*.h", "*_composite*.cxx"])
|
|
|
TargetAdd('libp3movies.in', opts=OPTS, input=IGATEFILES)
|
|
TargetAdd('libp3movies.in', opts=OPTS, input=IGATEFILES)
|
|
|
TargetAdd('libp3movies.in', opts=['IMOD:panda', 'ILIB:libp3movies', 'SRCDIR:panda/src/movies'])
|
|
TargetAdd('libp3movies.in', opts=['IMOD:panda', 'ILIB:libp3movies', 'SRCDIR:panda/src/movies'])
|
|
@@ -3226,7 +3229,7 @@ if (not RUNTIME):
|
|
|
#
|
|
#
|
|
|
|
|
|
|
|
if (not RUNTIME):
|
|
if (not RUNTIME):
|
|
|
- OPTS=['DIR:panda/src/grutil', 'BUILDING:PANDA', 'FFMPEG', 'BIGOBJ']
|
|
|
|
|
|
|
+ OPTS=['DIR:panda/src/grutil', 'BUILDING:PANDA', 'BIGOBJ']
|
|
|
TargetAdd('p3grutil_multitexReducer.obj', opts=OPTS, input='multitexReducer.cxx')
|
|
TargetAdd('p3grutil_multitexReducer.obj', opts=OPTS, input='multitexReducer.cxx')
|
|
|
TargetAdd('p3grutil_composite1.obj', opts=OPTS, input='p3grutil_composite1.cxx')
|
|
TargetAdd('p3grutil_composite1.obj', opts=OPTS, input='p3grutil_composite1.cxx')
|
|
|
TargetAdd('p3grutil_composite2.obj', opts=OPTS, input='p3grutil_composite2.cxx')
|
|
TargetAdd('p3grutil_composite2.obj', opts=OPTS, input='p3grutil_composite2.cxx')
|
|
@@ -3309,18 +3312,6 @@ if (not RUNTIME):
|
|
|
TargetAdd('libp3recorder.in', opts=['IMOD:panda', 'ILIB:libp3recorder', 'SRCDIR:panda/src/recorder'])
|
|
TargetAdd('libp3recorder.in', opts=['IMOD:panda', 'ILIB:libp3recorder', 'SRCDIR:panda/src/recorder'])
|
|
|
TargetAdd('libp3recorder_igate.obj', input='libp3recorder.in', opts=["DEPENDENCYONLY"])
|
|
TargetAdd('libp3recorder_igate.obj', input='libp3recorder.in', opts=["DEPENDENCYONLY"])
|
|
|
|
|
|
|
|
-#
|
|
|
|
|
-# DIRECTORY: panda/src/vrpn/
|
|
|
|
|
-#
|
|
|
|
|
-
|
|
|
|
|
-if (PkgSkip("VRPN")==0 and not RUNTIME):
|
|
|
|
|
- OPTS=['DIR:panda/src/vrpn', 'BUILDING:PANDA', 'VRPN']
|
|
|
|
|
- TargetAdd('p3vrpn_composite1.obj', opts=OPTS, input='p3vrpn_composite1.cxx')
|
|
|
|
|
- IGATEFILES=GetDirectoryContents('panda/src/vrpn', ["*.h", "*_composite*.cxx"])
|
|
|
|
|
- TargetAdd('libp3vrpn.in', opts=OPTS, input=IGATEFILES)
|
|
|
|
|
- TargetAdd('libp3vrpn.in', opts=['IMOD:panda', 'ILIB:libp3vrpn', 'SRCDIR:panda/src/vrpn'])
|
|
|
|
|
- TargetAdd('libp3vrpn_igate.obj', input='libp3vrpn.in', opts=["DEPENDENCYONLY"])
|
|
|
|
|
-
|
|
|
|
|
#
|
|
#
|
|
|
# DIRECTORY: panda/src/dxml/
|
|
# DIRECTORY: panda/src/dxml/
|
|
|
#
|
|
#
|
|
@@ -3345,9 +3336,9 @@ if (not RUNTIME):
|
|
|
#
|
|
#
|
|
|
|
|
|
|
|
if (not RUNTIME):
|
|
if (not RUNTIME):
|
|
|
- OPTS=['DIR:panda/metalibs/panda', 'BUILDING:PANDA', 'VRPN', 'JPEG', 'PNG',
|
|
|
|
|
- 'TIFF', 'ZLIB', 'OPENSSL', 'FREETYPE', 'FFTW', 'ADVAPI', 'WINSOCK2','SQUISH',
|
|
|
|
|
- 'NVIDIACG', 'WINUSER', 'WINMM', 'FFMPEG', 'SWSCALE', 'SWRESAMPLE', 'WINGDI', 'IPHLPAPI']
|
|
|
|
|
|
|
+ OPTS=['DIR:panda/metalibs/panda', 'BUILDING:PANDA', 'JPEG', 'PNG',
|
|
|
|
|
+ 'TIFF', 'ZLIB', 'OPENSSL', 'FREETYPE', 'FFTW', 'ADVAPI', 'WINSOCK2',
|
|
|
|
|
+ 'SQUISH', 'NVIDIACG', 'VORBIS', 'WINUSER', 'WINMM', 'WINGDI', 'IPHLPAPI']
|
|
|
|
|
|
|
|
TargetAdd('panda_panda.obj', opts=OPTS, input='panda.cxx')
|
|
TargetAdd('panda_panda.obj', opts=OPTS, input='panda.cxx')
|
|
|
|
|
|
|
@@ -3398,7 +3389,6 @@ if (not RUNTIME):
|
|
|
TargetAdd('libpanda.dll', input='p3cull_composite1.obj')
|
|
TargetAdd('libpanda.dll', input='p3cull_composite1.obj')
|
|
|
TargetAdd('libpanda.dll', input='p3cull_composite2.obj')
|
|
TargetAdd('libpanda.dll', input='p3cull_composite2.obj')
|
|
|
TargetAdd('libpanda.dll', input='p3movies_composite1.obj')
|
|
TargetAdd('libpanda.dll', input='p3movies_composite1.obj')
|
|
|
- TargetAdd('libpanda.dll', input='p3movies_composite2.obj')
|
|
|
|
|
TargetAdd('libpanda.dll', input='libp3movies_igate.obj')
|
|
TargetAdd('libpanda.dll', input='libp3movies_igate.obj')
|
|
|
TargetAdd('libpanda.dll', input='p3grutil_multitexReducer.obj')
|
|
TargetAdd('libpanda.dll', input='p3grutil_multitexReducer.obj')
|
|
|
TargetAdd('libpanda.dll', input='p3grutil_composite1.obj')
|
|
TargetAdd('libpanda.dll', input='p3grutil_composite1.obj')
|
|
@@ -3477,11 +3467,6 @@ if (not RUNTIME):
|
|
|
TargetAdd('libpanda.dll', input='libp3dtoolconfig.dll')
|
|
TargetAdd('libpanda.dll', input='libp3dtoolconfig.dll')
|
|
|
TargetAdd('libpanda.dll', input='libp3dtool.dll')
|
|
TargetAdd('libpanda.dll', input='libp3dtool.dll')
|
|
|
|
|
|
|
|
- if PkgSkip("VRPN")==0:
|
|
|
|
|
- TargetAdd('libpanda.dll', input="p3vrpn_composite1.obj")
|
|
|
|
|
- TargetAdd('libpanda.dll', input="libp3vrpn_igate.obj")
|
|
|
|
|
- TargetAdd('libpanda_module.obj', input='libp3vrpn.in')
|
|
|
|
|
-
|
|
|
|
|
if PkgSkip("FREETYPE")==0:
|
|
if PkgSkip("FREETYPE")==0:
|
|
|
TargetAdd('libpanda.dll', input="p3pnmtext_composite1.obj")
|
|
TargetAdd('libpanda.dll', input="p3pnmtext_composite1.obj")
|
|
|
TargetAdd('libpanda.dll', input="libp3pnmtext_igate.obj")
|
|
TargetAdd('libpanda.dll', input="libp3pnmtext_igate.obj")
|
|
@@ -3490,7 +3475,6 @@ if (not RUNTIME):
|
|
|
TargetAdd('libpanda_module.obj', opts=OPTS)
|
|
TargetAdd('libpanda_module.obj', opts=OPTS)
|
|
|
TargetAdd('libpanda_module.obj', opts=['IMOD:panda', 'ILIB:libpanda'])
|
|
TargetAdd('libpanda_module.obj', opts=['IMOD:panda', 'ILIB:libpanda'])
|
|
|
|
|
|
|
|
- TargetAdd('libpanda.dll', dep='dtool_have_vrpn.dat')
|
|
|
|
|
TargetAdd('libpanda.dll', dep='dtool_have_freetype.dat')
|
|
TargetAdd('libpanda.dll', dep='dtool_have_freetype.dat')
|
|
|
TargetAdd('libpanda.dll', opts=OPTS)
|
|
TargetAdd('libpanda.dll', opts=OPTS)
|
|
|
|
|
|
|
@@ -3560,7 +3544,6 @@ if PkgSkip("AWESOMIUM") == 0 and not RUNTIME:
|
|
|
TargetAdd('libp3awesomium.dll', input=COMMON_PANDA_LIBS)
|
|
TargetAdd('libp3awesomium.dll', input=COMMON_PANDA_LIBS)
|
|
|
TargetAdd('libp3awesomium.dll', opts=OPTS)
|
|
TargetAdd('libp3awesomium.dll', opts=OPTS)
|
|
|
|
|
|
|
|
-
|
|
|
|
|
#
|
|
#
|
|
|
# DIRECTORY: panda/src/p3skel
|
|
# DIRECTORY: panda/src/p3skel
|
|
|
#
|
|
#
|
|
@@ -3621,6 +3604,38 @@ if (PkgSkip('PANDAFX')==0) and (not RUNTIME):
|
|
|
TargetAdd('libpandafx.dll', input=COMMON_PANDA_LIBS)
|
|
TargetAdd('libpandafx.dll', input=COMMON_PANDA_LIBS)
|
|
|
TargetAdd('libpandafx.dll', opts=['ADVAPI', 'NVIDIACG'])
|
|
TargetAdd('libpandafx.dll', opts=['ADVAPI', 'NVIDIACG'])
|
|
|
|
|
|
|
|
|
|
+#
|
|
|
|
|
+# DIRECTORY: panda/src/vrpn/
|
|
|
|
|
+#
|
|
|
|
|
+
|
|
|
|
|
+if (PkgSkip("VRPN")==0 and not RUNTIME):
|
|
|
|
|
+ OPTS=['DIR:panda/src/vrpn', 'BUILDING:VRPN', 'VRPN']
|
|
|
|
|
+ TargetAdd('p3vrpn_composite1.obj', opts=OPTS, input='p3vrpn_composite1.cxx')
|
|
|
|
|
+ IGATEFILES=GetDirectoryContents('panda/src/vrpn', ["*.h", "*_composite*.cxx"])
|
|
|
|
|
+ TargetAdd('libp3vrpn.in', opts=OPTS, input=IGATEFILES)
|
|
|
|
|
+ TargetAdd('libp3vrpn.in', opts=['IMOD:p3vrpn', 'ILIB:libp3vrpn', 'SRCDIR:panda/src/vrpn'])
|
|
|
|
|
+ TargetAdd('libp3vrpn_igate.obj', input='libp3vrpn.in', opts=["DEPENDENCYONLY"])
|
|
|
|
|
+
|
|
|
|
|
+ TargetAdd('libp3vrpn_module.obj', input='libp3vrpn.in')
|
|
|
|
|
+ TargetAdd('libp3vrpn_module.obj', opts=OPTS)
|
|
|
|
|
+ TargetAdd('libp3vrpn_module.obj', opts=['IMOD:p3vrpn', 'ILIB:libp3vrpn'])
|
|
|
|
|
+
|
|
|
|
|
+ TargetAdd('libp3vrpn.dll', input='libp3vrpn_module.obj')
|
|
|
|
|
+ TargetAdd('libp3vrpn.dll', input='p3vrpn_composite1.obj')
|
|
|
|
|
+ TargetAdd('libp3vrpn.dll', input='libp3vrpn_igate.obj')
|
|
|
|
|
+ TargetAdd('libp3vrpn.dll', input=COMMON_PANDA_LIBS)
|
|
|
|
|
+ TargetAdd('libp3vrpn.dll', opts=['VRPN'])
|
|
|
|
|
+
|
|
|
|
|
+#
|
|
|
|
|
+# DIRECTORY: panda/src/ffmpeg
|
|
|
|
|
+#
|
|
|
|
|
+if PkgSkip("FFMPEG") == 0 and not RUNTIME:
|
|
|
|
|
+ OPTS=['DIR:panda/src/ffmpeg', 'BUILDING:FFMPEG', 'FFMPEG', 'SWSCALE', 'SWRESAMPLE']
|
|
|
|
|
+ TargetAdd('p3ffmpeg_composite1.obj', opts=OPTS, input='p3ffmpeg_composite1.cxx')
|
|
|
|
|
+ TargetAdd('libp3ffmpeg.dll', input='p3ffmpeg_composite1.obj')
|
|
|
|
|
+ TargetAdd('libp3ffmpeg.dll', input=COMMON_PANDA_LIBS)
|
|
|
|
|
+ TargetAdd('libp3ffmpeg.dll', opts=OPTS)
|
|
|
|
|
+
|
|
|
#
|
|
#
|
|
|
# DIRECTORY: panda/src/audiotraits/
|
|
# DIRECTORY: panda/src/audiotraits/
|
|
|
#
|
|
#
|
|
@@ -5574,7 +5589,10 @@ if (PkgSkip("CONTRIB")==0 and not RUNTIME):
|
|
|
|
|
|
|
|
if (PkgSkip("PYTHON")==0 and not RUNTIME):
|
|
if (PkgSkip("PYTHON")==0 and not RUNTIME):
|
|
|
# We're phasing out the concept of PandaModules, so do not
|
|
# We're phasing out the concept of PandaModules, so do not
|
|
|
- # add new libraries here. See direct/src/ffi/panda3d.py
|
|
|
|
|
|
|
+ # add new libraries here. Only add new libraries when you've
|
|
|
|
|
+ # split them out of libpanda and need to maintain backward
|
|
|
|
|
+ # compatibility with old imports. See direct/src/ffi/panda3d.py
|
|
|
|
|
+
|
|
|
TargetAdd('PandaModules.py', input='libpandaexpress.dll')
|
|
TargetAdd('PandaModules.py', input='libpandaexpress.dll')
|
|
|
TargetAdd('PandaModules.py', input='libpanda.dll')
|
|
TargetAdd('PandaModules.py', input='libpanda.dll')
|
|
|
if (PkgSkip("PANDAPHYSICS")==0):
|
|
if (PkgSkip("PANDAPHYSICS")==0):
|
|
@@ -5592,6 +5610,8 @@ if (PkgSkip("PYTHON")==0 and not RUNTIME):
|
|
|
TargetAdd('PandaModules.py', input='libp3awesomium.dll')
|
|
TargetAdd('PandaModules.py', input='libp3awesomium.dll')
|
|
|
if (PkgSkip("ODE")==0):
|
|
if (PkgSkip("ODE")==0):
|
|
|
TargetAdd('PandaModules.py', input='libpandaode.dll')
|
|
TargetAdd('PandaModules.py', input='libpandaode.dll')
|
|
|
|
|
+ if (PkgSkip("VRPN")==0):
|
|
|
|
|
+ TargetAdd('PandaModules.py', input='libp3vrpn.dll')
|
|
|
|
|
|
|
|
#
|
|
#
|
|
|
# Generate the models directory and samples directory
|
|
# Generate the models directory and samples directory
|
|
@@ -6403,9 +6423,9 @@ if (INSTALLER != 0):
|
|
|
if (GetOptimize() <= 2): dbg = "-dbg"
|
|
if (GetOptimize() <= 2): dbg = "-dbg"
|
|
|
if GetTargetArch() == 'x64':
|
|
if GetTargetArch() == 'x64':
|
|
|
if (RUNTIME):
|
|
if (RUNTIME):
|
|
|
- MakeInstallerNSIS("Panda3D-Runtime-"+VERSION+dbg+"-x64.exe", "Panda3D", "Panda3D "+VERSION, "C:\\Panda3D-"+VERSION)
|
|
|
|
|
|
|
+ MakeInstallerNSIS("Panda3D-Runtime-"+VERSION+dbg+"-x64.exe", "Panda3D", "Panda3D "+VERSION, "C:\\Panda3D-"+VERSION+"-x64")
|
|
|
else:
|
|
else:
|
|
|
- MakeInstallerNSIS("Panda3D-"+VERSION+dbg+"-x64.exe", "Panda3D", "Panda3D "+VERSION, "C:\\Panda3D-"+VERSION)
|
|
|
|
|
|
|
+ MakeInstallerNSIS("Panda3D-"+VERSION+dbg+"-x64.exe", "Panda3D", "Panda3D "+VERSION, "C:\\Panda3D-"+VERSION+"-x64")
|
|
|
else:
|
|
else:
|
|
|
if (RUNTIME):
|
|
if (RUNTIME):
|
|
|
MakeInstallerNSIS("Panda3D-Runtime-"+VERSION+dbg+".exe", "Panda3D", "Panda3D "+VERSION, "C:\\Panda3D-"+VERSION)
|
|
MakeInstallerNSIS("Panda3D-Runtime-"+VERSION+dbg+".exe", "Panda3D", "Panda3D "+VERSION, "C:\\Panda3D-"+VERSION)
|