native physx (#143)

* add physx include file

* add win32 static libs

* add android static libs

* add mac static libs

* add ios static libs
This commit is contained in:
jiaxin.lai
2021-04-16 10:23:52 +08:00
committed by GitHub
parent e8975a407d
commit 0ae7b51f5b
305 changed files with 67480 additions and 0 deletions
+13
View File
@@ -146,6 +146,18 @@ set_target_properties(tbbmalloc_proxy PROPERTIES
)
set(tbb_libs_name tbb tbbmalloc tbbmalloc_proxy)
if(USE_PHYSICS_PHYSX)
set(PhysXSDK PhysX PhysXCommon PhysXFoundation PhysXExtensions PhysXCooking PhysXCharacterKinematic PhysXVehicle PhysXPvdSDK)
foreach(PX IN LISTS PhysXSDK)
add_library(${PX} STATIC IMPORTED GLOBAL)
set_target_properties(${PX} PROPERTIES
IMPORTED_LOCATION ${CMAKE_CURRENT_LIST_DIR}/libs/PhysX/lib${PX}_static_64.a
)
endforeach()
else()
set(PhysXSDK)
endif()
list(APPEND CC_EXTERNAL_LIBS
freetype
jpeg
@@ -159,6 +171,7 @@ list(APPEND CC_EXTERNAL_LIBS
${glslang_libs_name}
${spirv-cross_libs_name}
${tbb_libs_name}
${PhysXSDK}
)
list(APPEND CC_EXTERNAL_INCLUDES
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.