aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/compiler/cmake/linux
diff options
context:
space:
mode:
authorMarijn Tamis <[email protected]>2019-04-01 14:21:09 +0200
committerMarijn Tamis <[email protected]>2019-04-01 14:21:09 +0200
commitd243404d4ba88bcf53f7310cc8980b4efe38c19f (patch)
treedcc8ce2904e9f813e03f71f825c4d3c9ec565d91 /NvCloth/compiler/cmake/linux
parentAdd new SetSpheres and SetPlanes api's to bring them in line with setTriangles. (diff)
downloadnvcloth-1.1.6.tar.xz
nvcloth-1.1.6.zip
1.1.6 Release.1.1.6
Diffstat (limited to 'NvCloth/compiler/cmake/linux')
-rw-r--r--NvCloth/compiler/cmake/linux/CMakeLists.txt6
-rw-r--r--NvCloth/compiler/cmake/linux/NvCloth.cmake9
2 files changed, 3 insertions, 12 deletions
diff --git a/NvCloth/compiler/cmake/linux/CMakeLists.txt b/NvCloth/compiler/cmake/linux/CMakeLists.txt
index 5bd8323..f8ba400 100644
--- a/NvCloth/compiler/cmake/linux/CMakeLists.txt
+++ b/NvCloth/compiler/cmake/linux/CMakeLists.txt
@@ -43,12 +43,6 @@ SET(PHYSX_LINUX_RELEASE_COMPILE_DEFS NDEBUG;PX_SUPPORT_PVD=0)
SET(PX_SELECT_COMPONENTS PxFoundation)
FIND_PACKAGE(PxShared REQUIRED)
-# Include the PxShared-exports.cmake file that PxShared created. There's other ways to do this, but there's a bunch of issues with it in a CI environment
-# such as - we don't want to be installing any built artifacts on this server, etc. So for now we hack it.
-
-# Add PxShared as a dependency so that we can use project references
-ADD_SUBDIRECTORY(${PXSHARED_ROOT_DIR}/src/compiler/cmake/linux "${CMAKE_CURRENT_BINARY_DIR}/pxshared_bin")
-
# Include all of the projects
INCLUDE(NvCloth.cmake)
diff --git a/NvCloth/compiler/cmake/linux/NvCloth.cmake b/NvCloth/compiler/cmake/linux/NvCloth.cmake
index 1d53df6..64188f0 100644
--- a/NvCloth/compiler/cmake/linux/NvCloth.cmake
+++ b/NvCloth/compiler/cmake/linux/NvCloth.cmake
@@ -30,6 +30,8 @@ SET(NVCLOTH_PLATFORM_INCLUDES
)
SET(NVCLOTH_PLATFORM_SOURCE_FILES
+ ${PROJECT_ROOT_DIR}/src/ps/unix/PsUnixAtomic.cpp
+ ${PROJECT_ROOT_DIR}/src/ps/unix/PsUnixFPU.h
#${PROJECT_ROOT_DIR}/src/neon/NeonCollision.cpp
#${PROJECT_ROOT_DIR}/src/neon/NeonSelfCollision.cpp
#${PROJECT_ROOT_DIR}/src/neon/NeonSolverKernel.cpp
@@ -128,11 +130,6 @@ ENDIF()
# include common NvCloth settings
INCLUDE(../common/NvCloth.cmake)
-
-# Add linked libraries
-# TARGET_LINK_LIBRARIES(NvCloth PUBLIC ${NVTOOLSEXT_LIBRARIES} LowLevel LowLevelAABB LowLevelCloth LowLevelDynamics LowLevelParticles PhysXCommon PhysXGpu PxFoundation PxPvdSDK PxTask SceneQuery SimulationController)
-
-TARGET_LINK_LIBRARIES(NvCloth PUBLIC PxFoundation)
TARGET_LINK_LIBRARIES(NvCloth PUBLIC ${CUDA_CUDA_LIBRARY})
SET_TARGET_PROPERTIES(NvCloth PROPERTIES
@@ -144,4 +141,4 @@ SET_TARGET_PROPERTIES(NvCloth PROPERTIES
# enable -fPIC so we can link static libs with the editor
SET_TARGET_PROPERTIES(NvCloth PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
-MESSAGE("[NvCloth]cmake/linux/NvCloth.cmake END") \ No newline at end of file
+MESSAGE("[NvCloth]cmake/linux/NvCloth.cmake END")