This commit is contained in:
2025-11-28 23:13:44 +05:30
commit a3a8e79709
7360 changed files with 1156074 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,418 @@
import sys
import os
import glob
import os.path
import shutil
import subprocess
import xml.etree.ElementTree
def packmanExt():
if sys.platform == 'win32':
return 'cmd'
return 'sh'
def cmakeExt():
if sys.platform == 'win32':
return '.exe'
return ''
def filterPreset(presetName):
winPresetFilter = ['win','uwp','ps4','switch','xboxone','android','crosscompile','xboxseriesx']
if sys.platform == 'win32':
if any(presetName.find(elem) != -1 for elem in winPresetFilter):
return True
else:
if all(presetName.find(elem) == -1 for elem in winPresetFilter):
return True
return False
def noPresetProvided():
global input
print('Preset parameter required, available presets:')
presetfiles = []
for file in glob.glob("buildtools/presets/*.xml"):
presetfiles.append(file)
if len(presetfiles) == 0:
for file in glob.glob("buildtools/presets/public/*.xml"):
presetfiles.append(file)
counter = 0
presetList = []
for preset in presetfiles:
if filterPreset(preset):
presetXml = xml.etree.ElementTree.parse(preset).getroot()
if(preset.find('user') == -1):
print('(' + str(counter) + ') ' + presetXml.get('name') +
' <--- ' + presetXml.get('comment'))
presetList.append(presetXml.get('name'))
else:
print('(' + str(counter) + ') ' + presetXml.get('name') +
'.user <--- ' + presetXml.get('comment'))
presetList.append(presetXml.get('name') + '.user')
counter = counter + 1
# Fix Python 2.x.
try:
input = raw_input
except NameError:
pass
mode = int(input('Enter preset number: '))
print('Running generate_projects.bat ' + presetList[mode])
return presetList[mode]
class CMakePreset:
presetName = ''
targetPlatform = ''
compiler = ''
cmakeSwitches = []
cmakeParams = []
def __init__(self, presetName):
xmlPath = "buildtools/presets/"+presetName+'.xml'
if os.path.isfile(xmlPath):
print('Using preset xml: '+xmlPath)
else:
xmlPath = "buildtools/presets/public/"+presetName+'.xml'
if os.path.isfile(xmlPath):
print('Using preset xml: '+xmlPath)
else:
print('Preset xml file: '+xmlPath+' not found')
exit()
# get the xml
presetNode = xml.etree.ElementTree.parse(xmlPath).getroot()
self.presetName = presetNode.attrib['name']
for platform in presetNode.findall('platform'):
self.targetPlatform = platform.attrib['targetPlatform']
self.compiler = platform.attrib['compiler']
print('Target platform: ' + self.targetPlatform +
' using compiler: ' + self.compiler)
for cmakeSwitch in presetNode.find('CMakeSwitches'):
cmSwitch = '-D' + \
cmakeSwitch.attrib['name'] + '=' + \
cmakeSwitch.attrib['value'].upper()
self.cmakeSwitches.append(cmSwitch)
for cmakeParam in presetNode.find('CMakeParams'):
if cmakeParam.attrib['name'] == 'CMAKE_INSTALL_PREFIX' or cmakeParam.attrib['name'] == 'PX_OUTPUT_LIB_DIR' or cmakeParam.attrib['name'] == 'PX_OUTPUT_EXE_DIR' or cmakeParam.attrib['name'] == 'PX_OUTPUT_DLL_DIR':
cmParam = '-D' + cmakeParam.attrib['name'] + '=\"' + \
os.environ['PHYSX_ROOT_DIR'] + '/' + \
cmakeParam.attrib['value'] + '\"'
elif cmakeParam.attrib['name'] == 'ANDROID_ABI':
cmParam = '-D' + \
cmakeParam.attrib['name'] + '=\"' + \
cmakeParam.attrib['value'] + '\"'
else:
cmParam = '-D' + \
cmakeParam.attrib['name'] + '=' + \
cmakeParam.attrib['value']
self.cmakeParams.append(cmParam)
pass
def isMultiConfigPlatform(self):
if self.targetPlatform == 'linux':
return False
elif self.targetPlatform == 'linuxAarch64':
return False
elif self.targetPlatform == 'android':
return False
return True
def getCMakeSwitches(self):
outString = ''
for cmakeSwitch in self.cmakeSwitches:
outString = outString + ' ' + cmakeSwitch
if cmakeSwitch.find('PX_GENERATE_GPU_PROJECTS') != -1:
if os.environ.get('PM_CUDA_PATH') is not None:
outString = outString + ' -DCUDA_TOOLKIT_ROOT_DIR=' + \
os.environ['PM_CUDA_PATH']
if self.compiler == 'vc15':
print('VS15CL:' + os.environ['VS150CLPATH'])
outString = outString + ' -DCUDA_HOST_COMPILER=' + \
os.environ['VS150CLPATH']
if self.compiler == 'vc16':
print('VS16CL:' + os.environ['VS160CLPATH'])
outString = outString + ' -DCUDA_HOST_COMPILER=' + \
os.environ['VS160CLPATH']
return outString
def getCMakeParams(self):
outString = ''
for cmakeParam in self.cmakeParams:
outString = outString + ' ' + cmakeParam
return outString
def getPlatformCMakeParams(self):
outString = ' '
if self.compiler == 'vc12':
outString = outString + '-G \"Visual Studio 12 2013\"'
elif self.compiler == 'vc14':
outString = outString + '-G \"Visual Studio 14 2015\"'
elif self.compiler == 'vc15':
outString = outString + '-G \"Visual Studio 15 2017\"'
elif self.compiler == 'vc16':
outString = outString + '-G \"Visual Studio 16 2019\"'
elif self.compiler == 'xcode':
outString = outString + '-G Xcode'
elif self.targetPlatform == 'android':
outString = outString + '-G \"MinGW Makefiles\"'
elif self.targetPlatform == 'linux':
outString = outString + '-G \"Unix Makefiles\"'
elif self.targetPlatform == 'linuxAarch64':
outString = outString + '-G \"Unix Makefiles\"'
if self.targetPlatform == 'win32':
outString = outString + ' -AWin32'
outString = outString + ' -DTARGET_BUILD_PLATFORM=windows'
outString = outString + ' -DPX_OUTPUT_ARCH=x86'
return outString
elif self.targetPlatform == 'win64':
outString = outString + ' -Ax64'
outString = outString + ' -DTARGET_BUILD_PLATFORM=windows'
outString = outString + ' -DPX_OUTPUT_ARCH=x86'
return outString
elif self.targetPlatform == 'uwp64':
outString = outString + ' -Ax64'
outString = outString + ' -DTARGET_BUILD_PLATFORM=uwp'
outString = outString + ' -DPX_OUTPUT_ARCH=x86'
outString = outString + ' -DCMAKE_SYSTEM_NAME=WindowsStore'
outString = outString + ' -DCMAKE_SYSTEM_VERSION=10.0'
return outString
elif self.targetPlatform == 'uwp32':
outString = outString + ' -AWin32'
outString = outString + ' -DTARGET_BUILD_PLATFORM=uwp'
outString = outString + ' -DPX_OUTPUT_ARCH=x86'
outString = outString + ' -DCMAKE_SYSTEM_NAME=WindowsStore'
outString = outString + ' -DCMAKE_SYSTEM_VERSION=10.0'
return outString
elif self.targetPlatform == 'uwparm32':
outString = outString + ' -AARM'
outString = outString + ' -DTARGET_BUILD_PLATFORM=uwp'
outString = outString + ' -DPX_OUTPUT_ARCH=arm'
outString = outString + ' -DCMAKE_SYSTEM_NAME=WindowsStore'
outString = outString + ' -DCMAKE_SYSTEM_VERSION=10.0'
return outString
elif self.targetPlatform == 'uwparm64':
outString = outString + ' -AARM64'
outString = outString + ' -DTARGET_BUILD_PLATFORM=uwp'
outString = outString + ' -DPX_OUTPUT_ARCH=arm'
outString = outString + ' -DCMAKE_SYSTEM_NAME=WindowsStore'
outString = outString + ' -DCMAKE_SYSTEM_VERSION=10.0'
return outString
elif self.targetPlatform == 'ps4':
outString = outString + ' -DTARGET_BUILD_PLATFORM=ps4'
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=' + \
os.environ['PM_CMakeModules_PATH'] + '/ps4/PS4Toolchain.txt'
outString = outString + ' -DCMAKE_GENERATOR_PLATFORM=ORBIS'
outString = outString + ' -DSUPPRESS_SUFFIX=ON'
return outString
elif self.targetPlatform == 'xboxone':
outString = outString + ' -DTARGET_BUILD_PLATFORM=xboxone'
if self.compiler == 'vc14':
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=' + \
os.environ['PM_CMakeModules_PATH'] + \
'/xboxone/XboxOneToolchain.txt'
elif self.compiler == 'vc15':
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=' + \
os.environ['PM_CMakeModules_PATH'] + \
'/xboxone/XboxOneToolchainVC15.txt'
outString = outString + ' -T v141'
outString = outString + ' -DCMAKE_VS150PATH=' + \
os.environ['VS150PATH']
elif self.compiler == 'vc16':
# TODO: Toolchain file need to be created
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=' + \
os.environ['PM_CMakeModules_PATH'] + \
'/xboxone/XboxOneToolchainVC16.txt'
outString = outString + ' -T v142'
outString = outString + ' -DCMAKE_VS160PATH=' + \
os.environ['VS160PATH']
outString = outString + ' -DCMAKE_GENERATOR_PLATFORM=Durango'
outString = outString + ' -DSUPPRESS_SUFFIX=ON'
return outString
elif self.targetPlatform == 'xboxseriesx':
outString = outString + ' -DTARGET_BUILD_PLATFORM=xboxseriesx'
if self.compiler == 'vc15':
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=' + \
os.environ['PM_CMakeModules_PATH'] + \
'/xboxseriesx/XboxSeriesXToolchainVC15.txt'
outString = outString + ' -T v141'
outString = outString + ' -DCMAKE_VS150PATH=' + \
os.environ['VS150PATH']
if self.compiler == 'vc16':
# TODO: Toolchain file need to be created
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=' + \
os.environ['PM_CMakeModules_PATH'] + \
'/xboxseriesx/XboxSeriesXToolchainVC16.txt'
outString = outString + ' -T v142'
outString = outString + ' -DCMAKE_VS160PATH=' + \
os.environ['VS160PATH']
outString = outString + ' -DCMAKE_GENERATOR_PLATFORM=Gaming.Xbox.Scarlett.x64'
outString = outString + ' -DSUPPRESS_SUFFIX=ON'
return outString
elif self.targetPlatform == 'switch32':
outString = outString + ' -DTARGET_BUILD_PLATFORM=switch'
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=' + \
os.environ['PM_CMakeModules_PATH'] + \
'/switch/NX32Toolchain.txt'
outString = outString + ' -DCMAKE_GENERATOR_PLATFORM=NX32'
return outString
elif self.targetPlatform == 'switch64':
outString = outString + ' -DTARGET_BUILD_PLATFORM=switch'
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=' + \
os.environ['PM_CMakeModules_PATH'] + \
'/switch/NX64Toolchain.txt'
outString = outString + ' -DCMAKE_GENERATOR_PLATFORM=NX64'
return outString
elif self.targetPlatform == 'android':
outString = outString + ' -DTARGET_BUILD_PLATFORM=android'
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=' + \
os.environ['PM_CMakeModules_PATH'] + \
'/android/android.toolchain.cmake'
outString = outString + ' -DANDROID_STL=\"gnustl_static\"'
outString = outString + ' -DCM_ANDROID_FP=\"softfp\"'
if os.environ.get('PM_AndroidNDK_PATH') is None:
print('Please provide path to android NDK in variable PM_AndroidNDK_PATH.')
exit(-1)
else:
outString = outString + ' -DANDROID_NDK=' + \
os.environ['PM_AndroidNDK_PATH']
outString = outString + ' -DCMAKE_MAKE_PROGRAM=\"' + \
os.environ['PM_AndroidNDK_PATH'] + '\\prebuilt\\windows\\bin\\make.exe\"'
return outString
elif self.targetPlatform == 'linux':
outString = outString + ' -DTARGET_BUILD_PLATFORM=linux'
outString = outString + ' -DPX_OUTPUT_ARCH=x86'
if self.compiler == 'clang-crosscompile':
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=' + \
os.environ['PM_CMakeModules_PATH'] + \
'/linux/LinuxCrossToolchain.x86_64-unknown-linux-gnu.cmake'
elif self.compiler == 'clang':
if os.environ.get('PM_clang_PATH') is not None:
outString = outString + ' -DCMAKE_C_COMPILER=' + \
os.environ['PM_clang_PATH'] + '/bin/clang'
outString = outString + ' -DCMAKE_CXX_COMPILER=' + \
os.environ['PM_clang_PATH'] + '/bin/clang++'
else:
outString = outString + ' -DCMAKE_C_COMPILER=clang'
outString = outString + ' -DCMAKE_CXX_COMPILER=clang++'
return outString
elif self.targetPlatform == 'linuxAarch64':
outString = outString + ' -DTARGET_BUILD_PLATFORM=linux'
outString = outString + ' -DPX_OUTPUT_ARCH=arm'
if self.compiler == 'clang-crosscompile':
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=' + \
os.environ['PM_CMakeModules_PATH'] + \
'/linux/LinuxCrossToolchain.aarch64-unknown-linux-gnueabihf.cmake'
elif self.compiler == 'gcc':
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=\"' + \
os.environ['PM_CMakeModules_PATH'] + \
'/linux/LinuxAarch64.cmake\"'
return outString
elif self.targetPlatform == 'mac64':
outString = outString + ' -DTARGET_BUILD_PLATFORM=mac'
outString = outString + ' -DPX_OUTPUT_ARCH=x86'
return outString
elif self.targetPlatform == 'ios64':
outString = outString + ' -DTARGET_BUILD_PLATFORM=ios'
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=\"' + \
os.environ['PM_CMakeModules_PATH'] + '/ios/ios.toolchain.cmake\"'
outString = outString + ' -DPX_OUTPUT_ARCH=arm'
return outString
return ''
def getCommonParams():
outString = '--no-warn-unused-cli'
outString = outString + ' -DCMAKE_PREFIX_PATH=\"' + os.environ['PM_PATHS'] + '\"'
outString = outString + ' -DPHYSX_ROOT_DIR=\"' + \
os.environ['PHYSX_ROOT_DIR'] + '\"'
outString = outString + ' -DPX_OUTPUT_LIB_DIR=\"' + \
os.environ['PHYSX_ROOT_DIR'] + '\"'
outString = outString + ' -DPX_OUTPUT_BIN_DIR=\"' + \
os.environ['PHYSX_ROOT_DIR'] + '\"'
if os.environ.get('GENERATE_SOURCE_DISTRO') == '1':
outString = outString + ' -DPX_GENERATE_SOURCE_DISTRO=1'
return outString
def cleanupCompilerDir(compilerDirName):
if os.path.exists(compilerDirName):
if sys.platform == 'win32':
os.system('rmdir /S /Q ' + compilerDirName)
else:
shutil.rmtree(compilerDirName, True)
if os.path.exists(compilerDirName) == False:
os.makedirs(compilerDirName)
def presetProvided(pName):
parsedPreset = CMakePreset(pName)
print('PM_CMakeModules_PATH: ' + os.environ['PM_CMakeModules_PATH'])
print('PM_PATHS: ' + os.environ['PM_PATHS'])
if os.environ.get('PM_cmake_PATH') is not None:
cmakeExec = os.environ['PM_cmake_PATH'] + '/bin/cmake' + cmakeExt()
else:
cmakeExec = 'cmake' + cmakeExt()
print('Cmake: ' + cmakeExec)
# gather cmake parameters
cmakeParams = parsedPreset.getPlatformCMakeParams()
cmakeParams = cmakeParams + ' ' + getCommonParams()
cmakeParams = cmakeParams + ' ' + parsedPreset.getCMakeSwitches()
cmakeParams = cmakeParams + ' ' + parsedPreset.getCMakeParams()
# print(cmakeParams)
if os.path.isfile(os.environ['PHYSX_ROOT_DIR'] + '/compiler/internal/CMakeLists.txt'):
cmakeMasterDir = 'internal'
else:
cmakeMasterDir = 'public'
if parsedPreset.isMultiConfigPlatform():
# cleanup and create output directory
outputDir = os.path.join('compiler', parsedPreset.presetName)
cleanupCompilerDir(outputDir)
# run the cmake script
#print('Cmake params:' + cmakeParams)
os.chdir(os.path.join(os.environ['PHYSX_ROOT_DIR'], outputDir))
os.system(cmakeExec + ' \"' +
os.environ['PHYSX_ROOT_DIR'] + '/compiler/' + cmakeMasterDir + '\"' + cmakeParams)
os.chdir(os.environ['PHYSX_ROOT_DIR'])
else:
configs = ['debug', 'checked', 'profile', 'release']
for config in configs:
# cleanup and create output directory
outputDir = os.path.join('compiler', parsedPreset.presetName + '-' + config)
cleanupCompilerDir(outputDir)
# run the cmake script
#print('Cmake params:' + cmakeParams)
os.chdir(os.path.join(os.environ['PHYSX_ROOT_DIR'], outputDir))
# print(cmakeExec + ' \"' + os.environ['PHYSX_ROOT_DIR'] + '/compiler/' + cmakeMasterDir + '\"' + cmakeParams + ' -DCMAKE_BUILD_TYPE=' + config)
os.system(cmakeExec + ' \"' + os.environ['PHYSX_ROOT_DIR'] + '/compiler/' +
cmakeMasterDir + '\"' + cmakeParams + ' -DCMAKE_BUILD_TYPE=' + config)
os.chdir(os.environ['PHYSX_ROOT_DIR'])
pass
def main():
if len(sys.argv) != 2:
presetName = noPresetProvided()
os.chdir(os.environ['PHYSX_ROOT_DIR'])
if sys.platform == 'win32':
os.system('generate_projects.bat ' + presetName)
else:
os.system('./generate_projects.sh ' + presetName)
else:
presetName = sys.argv[1]
if filterPreset(presetName):
presetProvided(presetName)
else:
print('Preset not supported on this build platform.')
main()

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="android-arm64-v8a" comment="Android-19, arm64-v8a PhysX SDK ">
<platform targetPlatform="android" compiler="clang" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="True" comment="Generate static libs" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/android-19/PhysX" comment="Install path relative to PhysX SDK root" />
<cmakeParam name="ANDROID_NATIVE_API_LEVEL" value="android-19" comment="Android platform API level" />
<cmakeParam name="ANDROID_ABI" value="arm64-v8a" comment="Android arm 64 ABI" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="android" comment="Android-19, armeabi-v7a with NEON PhysX SDK ">
<platform targetPlatform="android" compiler="clang" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="True" comment="Generate static libs" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/android-19/PhysX" comment="Install path relative to PhysX SDK root" />
<cmakeParam name="ANDROID_NATIVE_API_LEVEL" value="android-19" comment="Android platform API level" />
<cmakeParam name="ANDROID_ABI" value="armeabi-v7a with NEON" comment="Android arm ABI" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="ios64" comment="iOS Xcode PhysX general settings">
<platform targetPlatform="ios64" compiler="xcode" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="True" comment="Generate static libs" />
<cmakeSwitch name="NV_FORCE_64BIT_SUFFIX" value="True" comment="Force a 64 bit suffix for platforms that don't register properly." />
<cmakeSwitch name="NV_FORCE_32BIT_SUFFIX" value="False" comment="Force a 32 bit suffix for platforms that don't register properly." />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/ios64/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="linux-aarch64" comment="Linux-aarch64 gcc PhysX SDK general settings">
<platform targetPlatform="linuxAarch64" compiler="gcc" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="True" comment="Generate static libs" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/linux-aarch64/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="linux" comment="Linux clang PhysX SDK general settings">
<platform targetPlatform="linux" compiler="clang" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
<cmakeSwitch name="PX_BUILDPUBLICSAMPLES" value="True" comment="Generate the samples" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="True" comment="Generate static libs" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/linux/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="mac64" comment="macOS Xcode PhysX general settings">
<platform targetPlatform="mac64" compiler="xcode" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="True" comment="Generate static libraries" />
<cmakeSwitch name="NV_FORCE_64BIT_SUFFIX" value="True" comment="Force a 64 bit suffix for platforms that don't register properly." />
<cmakeSwitch name="NV_FORCE_32BIT_SUFFIX" value="False" comment="Force a 32 bit suffix for platforms that don't register properly." />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/mac64/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="vc12win32" comment="VC12 Win32 PhysX general settings">
<platform targetPlatform="win32" compiler="vc12" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets projects" />
<cmakeSwitch name="PX_BUILDPUBLICSAMPLES" value="True" comment="Generate the samples projects" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="False" comment="Generate static libraries" />
<cmakeSwitch name="NV_USE_STATIC_WINCRT" value="True" comment="Use the statically linked windows CRT" />
<cmakeSwitch name="NV_USE_DEBUG_WINCRT" value="True" comment="Use the debug version of the CRT" />
<cmakeSwitch name="PX_FLOAT_POINT_PRECISE_MATH" value="False" comment="Float point precise math" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/vc12win32/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="vc12win64" comment="VC12 Win64 PhysX general settings">
<platform targetPlatform="win64" compiler="vc12" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
<cmakeSwitch name="PX_BUILDPUBLICSAMPLES" value="True" comment="Generate the samples projects" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="False" comment="Generate static libraries" />
<cmakeSwitch name="NV_USE_STATIC_WINCRT" value="True" comment="Use the statically linked windows CRT" />
<cmakeSwitch name="NV_USE_DEBUG_WINCRT" value="True" comment="Use the debug version of the CRT" />
<cmakeSwitch name="PX_FLOAT_POINT_PRECISE_MATH" value="False" comment="Float point precise math" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/vc12win64/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="vc14win32" comment="VC14 Win32 PhysX general settings">
<platform targetPlatform="win32" compiler="vc14" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
<cmakeSwitch name="PX_BUILDPUBLICSAMPLES" value="True" comment="Generate the samples projects" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="False" comment="Generate static libraries" />
<cmakeSwitch name="NV_USE_STATIC_WINCRT" value="True" comment="Use the statically linked windows CRT" />
<cmakeSwitch name="NV_USE_DEBUG_WINCRT" value="True" comment="Use the debug version of the CRT" />
<cmakeSwitch name="PX_FLOAT_POINT_PRECISE_MATH" value="False" comment="Float point precise math" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/vc14win32/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="vc14win64" comment="VC14 Win64 PhysX general settings">
<platform targetPlatform="win64" compiler="vc14" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
<cmakeSwitch name="PX_BUILDPUBLICSAMPLES" value="True" comment="Generate the samples projects" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="False" comment="Generate static libraries" />
<cmakeSwitch name="NV_USE_STATIC_WINCRT" value="True" comment="Use the statically linked windows CRT" />
<cmakeSwitch name="NV_USE_DEBUG_WINCRT" value="True" comment="Use the debug version of the CRT" />
<cmakeSwitch name="PX_FLOAT_POINT_PRECISE_MATH" value="False" comment="Float point precise math" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/vc14win64/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="vc15uwp32" comment="VC15 UWP 32bit PhysX general settings">
<platform targetPlatform="uwp32" compiler="vc15" />
<CMakeSwitches>
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="False" comment="Generate static libraries" />
<cmakeSwitch name="PX_FLOAT_POINT_PRECISE_MATH" value="False" comment="Float point precise math" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/vc15uwp32/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="vc15uwp64" comment="VC15 UWP 64bit PhysX general settings">
<platform targetPlatform="uwp64" compiler="vc15" />
<CMakeSwitches>
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="False" comment="Generate static libraries" />
<cmakeSwitch name="PX_FLOAT_POINT_PRECISE_MATH" value="False" comment="Float point precise math" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/vc15uwp64/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="vc15uwparm32" comment="VC15 UWP 32bit PhysX general settings">
<platform targetPlatform="uwparm32" compiler="vc15" />
<CMakeSwitches>
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="False" comment="Generate static libraries" />
<cmakeSwitch name="PX_FLOAT_POINT_PRECISE_MATH" value="False" comment="Float point precise math" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/vc15uwparm32/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="vc15uwparm64" comment="VC15 UWP ARM 64bit PhysX general settings">
<platform targetPlatform="uwparm64" compiler="vc15" />
<CMakeSwitches>
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="False" comment="Generate static libraries" />
<cmakeSwitch name="PX_FLOAT_POINT_PRECISE_MATH" value="False" comment="Float point precise math" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/vc15uwparm64/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="vc15win32" comment="VC15 Win32 PhysX general settings">
<platform targetPlatform="win32" compiler="vc15" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
<cmakeSwitch name="PX_BUILDPUBLICSAMPLES" value="True" comment="Generate the samples projects" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="False" comment="Generate static libraries" />
<cmakeSwitch name="NV_USE_STATIC_WINCRT" value="True" comment="Use the statically linked windows CRT" />
<cmakeSwitch name="NV_USE_DEBUG_WINCRT" value="True" comment="Use the debug version of the CRT" />
<cmakeSwitch name="PX_FLOAT_POINT_PRECISE_MATH" value="False" comment="Float point precise math" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/vc15win32/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="vc15win64" comment="VC15 Win64 PhysX general settings">
<platform targetPlatform="win64" compiler="vc15" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
<cmakeSwitch name="PX_BUILDPUBLICSAMPLES" value="True" comment="Generate the samples projects" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="False" comment="Generate static libraries" />
<cmakeSwitch name="NV_USE_STATIC_WINCRT" value="True" comment="Use the statically linked windows CRT" />
<cmakeSwitch name="NV_USE_DEBUG_WINCRT" value="True" comment="Use the debug version of the CRT" />
<cmakeSwitch name="PX_FLOAT_POINT_PRECISE_MATH" value="False" comment="Float point precise math" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/vc15win64/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="vc16win32" comment="VC16 Win32 PhysX general settings">
<platform targetPlatform="win32" compiler="vc16" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
<cmakeSwitch name="PX_BUILDPUBLICSAMPLES" value="True" comment="Generate the samples projects" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="False" comment="Generate static libraries" />
<cmakeSwitch name="NV_USE_STATIC_WINCRT" value="True" comment="Use the statically linked windows CRT" />
<cmakeSwitch name="NV_USE_DEBUG_WINCRT" value="True" comment="Use the debug version of the CRT" />
<cmakeSwitch name="PX_FLOAT_POINT_PRECISE_MATH" value="False" comment="Float point precise math" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/vc15win32/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="vc16win64" comment="VC16 Win64 PhysX general settings">
<platform targetPlatform="win64" compiler="vc16" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
<cmakeSwitch name="PX_BUILDPUBLICSAMPLES" value="True" comment="Generate the samples projects" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="False" comment="Generate static libraries" />
<cmakeSwitch name="NV_USE_STATIC_WINCRT" value="True" comment="Use the statically linked windows CRT" />
<cmakeSwitch name="NV_USE_DEBUG_WINCRT" value="True" comment="Use the debug version of the CRT" />
<cmakeSwitch name="PX_FLOAT_POINT_PRECISE_MATH" value="False" comment="Float point precise math" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/vc15win64/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>

View File

@ -0,0 +1,153 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GuContactBuffer.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('GuContactBuffer_8h.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Macros</a> </div>
<div class="headertitle">
<div class="title">GuContactBuffer.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="GuContactPoint_8h_source.html">geomutils/GuContactPoint.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="PxPhysXConfig_8h_source.html">PxPhysXConfig.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="PxContact_8h_source.html">PxContact.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="GuContactBuffer_8h__dep__incl.png" border="0" usemap="#GuContactBuffer_8hdep" alt=""/></div>
<map name="GuContactBuffer_8hdep" id="GuContactBuffer_8hdep">
<area shape="rect" id="node2" href="PxCollisionDefs_8h.html" title="PxCollisionDefs.h" alt="" coords="14,80,138,107"/>
<area shape="rect" id="node3" href="PxImmediateMode_8h.html" title="PxImmediateMode.h" alt="" coords="5,155,147,181"/>
</map>
</div>
</div>
<p><a href="GuContactBuffer_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structphysx_1_1Gu_1_1NarrowPhaseParams.html">physx::Gu::NarrowPhaseParams</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classphysx_1_1Gu_1_1ContactBuffer.html">physx::Gu::ContactBuffer</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacephysx"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacephysx.html">physx</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacephysx_1_1Gu"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacephysx_1_1Gu.html">physx::Gu</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a53d5f9a05ea848c517e1c0b4240aa491"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="GuContactBuffer_8h.html#a53d5f9a05ea848c517e1c0b4240aa491">LOCAL_CONTACTS_SIZE</a>&#160;&#160;&#160;1088</td></tr>
<tr class="separator:a53d5f9a05ea848c517e1c0b4240aa491"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a53d5f9a05ea848c517e1c0b4240aa491"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53d5f9a05ea848c517e1c0b4240aa491">&#9670;&nbsp;</a></span>LOCAL_CONTACTS_SIZE</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOCAL_CONTACTS_SIZE&#160;&#160;&#160;1088</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_713b4d6d20ce249967929ad234a3da6e.html">include</a></li><li class="navelem"><a class="el" href="dir_106f8686d9c5f7869f8869a988d96cf3.html">geomutils</a></li><li class="navelem"><a class="el" href="GuContactBuffer_8h.html">GuContactBuffer.h</a></li>
<li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
</ul>
</div>
</body>
</html>

View File

@ -0,0 +1,6 @@
var GuContactBuffer_8h =
[
[ "NarrowPhaseParams", "structphysx_1_1Gu_1_1NarrowPhaseParams.html", "structphysx_1_1Gu_1_1NarrowPhaseParams" ],
[ "ContactBuffer", "classphysx_1_1Gu_1_1ContactBuffer.html", "classphysx_1_1Gu_1_1ContactBuffer" ],
[ "LOCAL_CONTACTS_SIZE", "GuContactBuffer_8h.html#a53d5f9a05ea848c517e1c0b4240aa491", null ]
];

View File

@ -0,0 +1,4 @@
<map id="GuContactBuffer.h" name="GuContactBuffer.h">
<area shape="rect" id="node2" href="$PxCollisionDefs_8h.html" title="PxCollisionDefs.h" alt="" coords="14,80,138,107"/>
<area shape="rect" id="node3" href="$PxImmediateMode_8h.html" title="PxImmediateMode.h" alt="" coords="5,155,147,181"/>
</map>

View File

@ -0,0 +1 @@
803b152aafa7c5d8479861a2bae66da2

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Some files were not shown because too many files have changed in this diff Show More