diff options
| author | Anton Novoselov <[email protected]> | 2017-08-01 12:53:38 +0300 |
|---|---|---|
| committer | Anton Novoselov <[email protected]> | 2017-08-01 12:53:38 +0300 |
| commit | 236f03c0b9a4982328ed1201978f7f69d192d9b2 (patch) | |
| tree | e486f2fa39dba203563895541e92c60ed3e25759 /sdk/compiler/cmake/NvBlastExtAuthoring.cmake | |
| parent | Added screens to welcome page (diff) | |
| download | blast-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/NvBlastExtAuthoring.cmake')
| -rw-r--r-- | sdk/compiler/cmake/NvBlastExtAuthoring.cmake | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/sdk/compiler/cmake/NvBlastExtAuthoring.cmake b/sdk/compiler/cmake/NvBlastExtAuthoring.cmake index dda8056..9ba6173 100644 --- a/sdk/compiler/cmake/NvBlastExtAuthoring.cmake +++ b/sdk/compiler/cmake/NvBlastExtAuthoring.cmake @@ -11,6 +11,8 @@ SET(AUTHORING_EXT_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/extensions/authoring/include FIND_PACKAGE(PxSharedSDK $ENV{PM_PxShared_VERSION} REQUIRED) FIND_PACKAGE(PhysXSDK $ENV{PM_PhysX_VERSION} REQUIRED) +FIND_PACKAGE(BoostMultiprecision $ENV{PM_BoostMultiprecision_VERSION} REQUIRED) + # Include here after the directories are defined so that the platform specific file can use the variables. include(${PROJECT_CMAKE_FILES_DIR}/${TARGET_BUILD_PLATFORM}/NvBlastExtAuthoring.cmake) @@ -28,29 +30,40 @@ SET(PUBLIC_FILES ${AUTHORING_EXT_INCLUDE_DIR}/NvBlastExtAuthoringFractureTool.h ${AUTHORING_EXT_INCLUDE_DIR}/NvBlastExtAuthoringMesh.h ${AUTHORING_EXT_INCLUDE_DIR}/NvBlastExtAuthoringTypes.h + ${AUTHORING_EXT_INCLUDE_DIR}/NvBlastExtAuthoring.h + ${AUTHORING_EXT_INCLUDE_DIR}/NvBlastExtAuthoringMeshCleaner.h ) SET(EXT_AUTHORING_FILES ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringAccelerator.cpp ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringAccelerator.h - ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringBondGenerator.cpp + ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringBondGeneratorImpl.cpp + ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringBondGeneratorImpl.h ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringBooleanTool.cpp ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringBooleanTool.h - ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringCollisionBuilder.cpp - ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringMesh.cpp + ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringCollisionBuilderImpl.cpp + ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringCollisionBuilderImpl.h + ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringMeshImpl.cpp + ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringMeshImpl.h ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringPerlinNoise.h ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringTriangulator.cpp ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringTriangulator.h ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringVSA.h - ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringFractureTool.cpp + ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringFractureToolImpl.cpp + ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringFractureToolImpl.h ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtTriangleProcessor.cpp + ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringMeshNoiser.cpp + ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringMeshNoiser.h ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtTriangleProcessor.h ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtApexSharedParts.cpp ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtApexSharedParts.h ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringInternalCommon.h + ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoring.cpp + ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringMeshCleanerImpl.h + ${AUTHORING_EXT_SOURCE_DIR}/NvBlastExtAuthoringMeshCleanerImpl.cpp ) -ADD_LIBRARY(NvBlastExtAuthoring STATIC +ADD_LIBRARY(NvBlastExtAuthoring ${BLAST_EXT_SHARED_LIB_TYPE} ${COMMON_FILES} ${PUBLIC_FILES} @@ -70,6 +83,9 @@ TARGET_INCLUDE_DIRECTORIES(NvBlastExtAuthoring PUBLIC ${PROJECT_SOURCE_DIR}/lowlevel/include PUBLIC ${AUTHORING_EXT_INCLUDE_DIR} + PRIVATE ${PROJECT_SOURCE_DIR}/toolkit/include + PRIVATE ${PHYSX_EXT_INCLUDE_DIR} + PRIVATE ${PROJECT_SOURCE_DIR}/common PRIVATE ${COMMON_EXT_SOURCE_DIR} @@ -77,6 +93,8 @@ TARGET_INCLUDE_DIRECTORIES(NvBlastExtAuthoring PRIVATE ${PHYSXSDK_INCLUDE_DIRS} PRIVATE ${PXSHAREDSDK_INCLUDE_DIRS} + + PRIVATE ${BOOSTMULTIPRECISION_INCLUDE_DIRS} ) TARGET_COMPILE_DEFINITIONS(NvBlastExtAuthoring @@ -97,10 +115,6 @@ SET_TARGET_PROPERTIES(NvBlastExtAuthoring PROPERTIES # Do final direct sets after the target has been defined TARGET_LINK_LIBRARIES(NvBlastExtAuthoring - PRIVATE NvBlast + PUBLIC NvBlast NvBlastGlobals PUBLIC ${BLASTEXT_PLATFORM_LINKED_LIBS} - PUBLIC $<$<CONFIG:debug>:${PHYSX3_LIB_DEBUG}> $<$<CONFIG:debug>:${PHYSX3EXTENSIONS_LIB_DEBUG}> $<$<CONFIG:debug>:${PXFOUNDATION_LIB_DEBUG}> - PUBLIC $<$<CONFIG:checked>:${PHYSX3_LIB_CHECKED}> $<$<CONFIG:checked>:${PHYSX3EXTENSIONS_LIB_CHECKED}> $<$<CONFIG:checked>:${PXFOUNDATION_LIB_CHECKED}> - PUBLIC $<$<CONFIG:profile>:${PHYSX3_LIB_PROFILE}> $<$<CONFIG:profile>:${PHYSX3EXTENSIONS_LIB_PROFILE}> $<$<CONFIG:profile>:${PXFOUNDATION_LIB_PROFILE}> - PUBLIC $<$<CONFIG:release>:${PHYSX3_LIB}> $<$<CONFIG:release>:${PHYSX3EXTENSIONS_LIB}> $<$<CONFIG:release>:${PXFOUNDATION_LIB}> ) |