![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/share/emscripten/tests/bullet/src/BulletMultiThreaded/GpuSoftBodySolvers/DX11/ |
Upload File : |
INCLUDE_DIRECTORIES( ${BULLET_PHYSICS_SOURCE_DIR}/src ) SET(DXSDK_DIR $ENV{DXSDK_DIR}) SET(DX11_INCLUDE_PATH "${DIRECTX_SDK_BASE_DIR}/Include" CACHE DOCSTRING "Microsoft directX SDK include path") INCLUDE_DIRECTORIES( ${DX11_INCLUDE_PATH} "../cpu/" ${VECTOR_MATH_INCLUDE} ) SET(BulletSoftBodyDX11Solvers_SRCS btSoftBodySolver_DX11.cpp btSoftBodySolver_DX11SIMDAware.cpp ) SET(BulletSoftBodyDX11Solvers_HDRS btSoftBodySolver_DX11.h btSoftBodySolver_DX11SIMDAware.h ../cpu/btSoftBodySolverData.h btSoftBodySolverVertexData_DX11.h btSoftBodySolverTriangleData_DX11.h btSoftBodySolverLinkData_DX11.h btSoftBodySolverLinkData_DX11SIMDAware.h btSoftBodySolverBuffer_DX11.h btSoftBodySolverVertexBuffer_DX11.h ) # OpenCL and HLSL Shaders. # Build rules generated to stringify these into headers # which are needed by some of the sources SET(BulletSoftBodyDX11Solvers_Shaders OutputToVertexArray UpdateNormals Integrate UpdatePositions UpdateNodes ComputeBounds SolvePositions SolvePositionsSIMDBatched SolveCollisionsAndUpdateVelocities SolveCollisionsAndUpdateVelocitiesSIMDBatched UpdatePositionsFromVelocities ApplyForces PrepareLinks VSolveLinks ) foreach(f ${BulletSoftBodyDX11Solvers_Shaders}) LIST(APPEND BulletSoftBodyDX11Solvers_HLSL "HLSL/${f}.hlsl") endforeach(f) ADD_LIBRARY(BulletSoftBodySolvers_DX11 ${BulletSoftBodyDX11Solvers_SRCS} ${BulletSoftBodyDX11Solvers_HDRS} ${BulletSoftBodyDX11Solvers_HLSL}) SET_TARGET_PROPERTIES(BulletSoftBodySolvers_DX11 PROPERTIES VERSION ${BULLET_VERSION}) SET_TARGET_PROPERTIES(BulletSoftBodySolvers_DX11 PROPERTIES SOVERSION ${BULLET_VERSION}) IF (BUILD_SHARED_LIBS) TARGET_LINK_LIBRARIES(BulletSoftBodySolvers_DX11 BulletSoftBody BulletDynamics) ENDIF (BUILD_SHARED_LIBS) IF (INSTALL_LIBS) IF (NOT INTERNAL_CREATE_DISTRIBUTABLE_MSVC_PROJECTFILES) IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5) IF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK) INSTALL(TARGETS BulletSoftBodySolvers_DX11 DESTINATION .) ELSE (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK) INSTALL(TARGETS BulletSoftBodySolvers_DX11 DESTINATION lib${LIB_SUFFIX}) #headers are already installed by BulletMultiThreaded library ENDIF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK) ENDIF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5) IF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK) SET_TARGET_PROPERTIES(BulletSoftBodySolvers_DX11 PROPERTIES FRAMEWORK true) SET_TARGET_PROPERTIES(BulletSoftBodySolvers_DX11 PROPERTIES PUBLIC_HEADER "${BulletSoftBodyDX11Solvers_HDRS}") ENDIF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK) ENDIF (NOT INTERNAL_CREATE_DISTRIBUTABLE_MSVC_PROJECTFILES) ENDIF (INSTALL_LIBS)