aboutsummaryrefslogtreecommitdiff
path: root/sdk/compiler/cmake/NvBlastExtPhysX.cmake
diff options
context:
space:
mode:
authorAnton Novoselov <[email protected]>2017-08-01 12:53:38 +0300
committerAnton Novoselov <[email protected]>2017-08-01 12:53:38 +0300
commit236f03c0b9a4982328ed1201978f7f69d192d9b2 (patch)
treee486f2fa39dba203563895541e92c60ed3e25759 /sdk/compiler/cmake/NvBlastExtPhysX.cmake
parentAdded screens to welcome page (diff)
downloadblast-236f03c0b9a4982328ed1201978f7f69d192d9b2.tar.xz
blast-236f03c0b9a4982328ed1201978f7f69d192d9b2.zip
Blast 1.1 release (windows / linux)
see docs/release_notes.txt for details
Diffstat (limited to 'sdk/compiler/cmake/NvBlastExtPhysX.cmake')
-rw-r--r--sdk/compiler/cmake/NvBlastExtPhysX.cmake24
1 files changed, 20 insertions, 4 deletions
diff --git a/sdk/compiler/cmake/NvBlastExtPhysX.cmake b/sdk/compiler/cmake/NvBlastExtPhysX.cmake
index d2d0f0a..ee8dcc5 100644
--- a/sdk/compiler/cmake/NvBlastExtPhysX.cmake
+++ b/sdk/compiler/cmake/NvBlastExtPhysX.cmake
@@ -21,6 +21,10 @@ SET(COMMON_FILES
${COMMON_SOURCE_DIR}/NvBlastAssert.cpp
${COMMON_SOURCE_DIR}/NvBlastAssert.h
+
+ ${COMMON_SOURCE_DIR}/NvBlastArray.h
+ ${COMMON_SOURCE_DIR}/NvBlastHashMap.h
+ ${COMMON_SOURCE_DIR}/NvBlastHashSet.h
)
SET(PUBLIC_FILES
@@ -31,14 +35,15 @@ SET(PUBLIC_FILES
${PHYSX_EXT_INCLUDE_DIR}/NvBlastExtPxFamily.h
${PHYSX_EXT_INCLUDE_DIR}/NvBlastExtPxListener.h
${PHYSX_EXT_INCLUDE_DIR}/NvBlastExtPxManager.h
- ${PHYSX_EXT_INCLUDE_DIR}/NvBlastExtStressSolver.h
+ ${PHYSX_EXT_INCLUDE_DIR}/NvBlastExtPxStressSolver.h
+ ${PHYSX_EXT_INCLUDE_DIR}/NvBlastExtPxTask.h
${PHYSX_EXT_INCLUDE_DIR}/NvBlastExtSync.h
)
SET(EXT_PHYSICS_FILES
- ${PHYSX_EXT_SOURCE_DIR}/physics/NvBlastExtImpulseStressSolver.h
${PHYSX_EXT_SOURCE_DIR}/physics/NvBlastExtImpactDamageManager.cpp
- ${PHYSX_EXT_SOURCE_DIR}/physics/NvBlastExtImpulseStressSolver.cpp
+ ${PHYSX_EXT_SOURCE_DIR}/physics/NvBlastExtPxStressSolverImpl.h
+ ${PHYSX_EXT_SOURCE_DIR}/physics/NvBlastExtPxStressSolverImpl.cpp
${PHYSX_EXT_SOURCE_DIR}/physics/NvBlastExtPxActorImpl.h
${PHYSX_EXT_SOURCE_DIR}/physics/NvBlastExtPxActorImpl.cpp
${PHYSX_EXT_SOURCE_DIR}/physics/NvBlastExtPxAssetImpl.h
@@ -47,6 +52,13 @@ SET(EXT_PHYSICS_FILES
${PHYSX_EXT_SOURCE_DIR}/physics/NvBlastExtPxFamilyImpl.cpp
${PHYSX_EXT_SOURCE_DIR}/physics/NvBlastExtPxManagerImpl.h
${PHYSX_EXT_SOURCE_DIR}/physics/NvBlastExtPxManagerImpl.cpp
+ ${PHYSX_EXT_SOURCE_DIR}/physics/NvBlastExtPxTaskImpl.h
+ ${PHYSX_EXT_SOURCE_DIR}/physics/NvBlastExtPxTaskImpl.cpp
+)
+
+SET(EXT_CALLBACKS_FILES
+ ${PHYSX_EXT_INCLUDE_DIR}/NvBlastExtCustomProfiler.h
+ ${PHYSX_EXT_INCLUDE_DIR}/NvBlastPxCallbacks.h
)
SET(EXT_SYNC_FILES
@@ -59,12 +71,14 @@ ADD_LIBRARY(NvBlastExtPhysX ${BLASTEXT_PHYSX_LIBTYPE}
${EXT_PHYSICS_FILES}
${EXT_SYNC_FILES}
+ ${EXT_CALLBACKS_FILES}
)
SOURCE_GROUP("common" FILES ${COMMON_FILES})
SOURCE_GROUP("public" FILES ${PUBLIC_FILES})
SOURCE_GROUP("src\\physics" FILES ${EXT_PHYSICS_FILES})
SOURCE_GROUP("src\\sync" FILES ${EXT_SYNC_FILES})
+SOURCE_GROUP("src\\callbacks" FILES ${EXT_CALLBACKS_FILES})
# Target specific compile options
@@ -81,6 +95,8 @@ TARGET_INCLUDE_DIRECTORIES(NvBlastExtPhysX
PRIVATE ${PHYSX_EXT_SOURCE_DIR}/physics
PRIVATE ${PHYSX_EXT_SOURCE_DIR}/sync
+ PUBLIC ${PROJECT_SOURCE_DIR}/extensions/profiler/include
+
PUBLIC ${PHYSXSDK_INCLUDE_DIRS}
PRIVATE ${PXSHAREDSDK_INCLUDE_DIRS}
)
@@ -103,7 +119,7 @@ SET_TARGET_PROPERTIES(NvBlastExtPhysX PROPERTIES
# Do final direct sets after the target has been defined
TARGET_LINK_LIBRARIES(NvBlastExtPhysX
- PUBLIC NvBlast NvBlastExtShaders NvBlastTk
+ PUBLIC NvBlastTk NvBlastExtShaders NvBlastExtStress
PUBLIC $<$<CONFIG:debug>:${PHYSX3_LIB_DEBUG}> $<$<CONFIG:debug>:${PHYSX3COOKING_LIB_DEBUG}> $<$<CONFIG:debug>:${PHYSX3EXTENSIONS_LIB_DEBUG}> $<$<CONFIG:debug>:${PXFOUNDATION_LIB_DEBUG}>
PUBLIC $<$<CONFIG:checked>:${PHYSX3_LIB_CHECKED}> $<$<CONFIG:checked>:${PHYSX3COOKING_LIB_CHECKED}> $<$<CONFIG:checked>:${PHYSX3EXTENSIONS_LIB_CHECKED}> $<$<CONFIG:checked>:${PXFOUNDATION_LIB_CHECKED}>
PUBLIC $<$<CONFIG:profile>:${PHYSX3_LIB_PROFILE}> $<$<CONFIG:profile>:${PHYSX3COOKING_LIB_PROFILE}> $<$<CONFIG:profile>:${PHYSX3EXTENSIONS_LIB_PROFILE}> $<$<CONFIG:profile>:${PXFOUNDATION_LIB_PROFILE}>