aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/compiler/cmake/windows/NvCloth.cmake
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/windows/NvCloth.cmake
parentAdd new SetSpheres and SetPlanes api's to bring them in line with setTriangles. (diff)
downloadnvcloth-d243404d4ba88bcf53f7310cc8980b4efe38c19f.tar.xz
nvcloth-d243404d4ba88bcf53f7310cc8980b4efe38c19f.zip
1.1.6 Release.1.1.6
Diffstat (limited to 'NvCloth/compiler/cmake/windows/NvCloth.cmake')
-rw-r--r--NvCloth/compiler/cmake/windows/NvCloth.cmake16
1 files changed, 10 insertions, 6 deletions
diff --git a/NvCloth/compiler/cmake/windows/NvCloth.cmake b/NvCloth/compiler/cmake/windows/NvCloth.cmake
index cc8ca0f..065ea18 100644
--- a/NvCloth/compiler/cmake/windows/NvCloth.cmake
+++ b/NvCloth/compiler/cmake/windows/NvCloth.cmake
@@ -23,7 +23,11 @@ ENDIF()
SET(NVCLOTH_PLATFORM_INCLUDES PRIVATE ${CUDA_INCLUDE_DIRS})
-SET(NVCLOTH_PLATFORM_SOURCE_FILES "" )
+SET(NVCLOTH_PLATFORM_SOURCE_FILES
+ ${PROJECT_ROOT_DIR}/src/ps/windows/PsWindowsAtomic.cpp
+ ${PROJECT_ROOT_DIR}/src/ps/windows/PsWindowsFPU.h
+ ${PROJECT_ROOT_DIR}/src/ps/windows/PsWindowsInclude.h
+)
IF(${NV_CLOTH_ENABLE_CUDA})
LIST(APPEND NVCLOTH_PLATFORM_SOURCE_FILES
${PROJECT_ROOT_DIR}/src/cuda/CuCheckSuccess.h
@@ -48,6 +52,7 @@ LIST(APPEND NVCLOTH_PLATFORM_SOURCE_FILES
${PROJECT_ROOT_DIR}/src/cuda/CuSolver.h
${PROJECT_ROOT_DIR}/src/cuda/CuSolverKernel.h
${PROJECT_ROOT_DIR}/src/cuda/CuSolverKernelBlob.h
+ ${PROJECT_ROOT_DIR}/include/NvCloth/ps/windows/PsWindowsIntrinsics.h
)
ENDIF()
@@ -164,13 +169,12 @@ INCLUDE(../common/NvCloth.cmake)
# Add linked libraries
-TARGET_LINK_LIBRARIES(NvCloth PUBLIC PxFoundation)
TARGET_LINK_LIBRARIES(NvCloth PUBLIC ${CUDA_CUDA_LIBRARY})
SET_TARGET_PROPERTIES(NvCloth PROPERTIES
- LINK_FLAGS_DEBUG "/DELAYLOAD:nvcuda.dll /MAP /DELAYLOAD:PxFoundationDEBUG_${LIBPATH_SUFFIX}.dll /DEBUG"
- LINK_FLAGS_CHECKED "/DELAYLOAD:nvcuda.dll /MAP /DELAYLOAD:PxFoundationCHECKED_${LIBPATH_SUFFIX}.dll"
- LINK_FLAGS_PROFILE "/DELAYLOAD:nvcuda.dll /MAP /DELAYLOAD:PxFoundationPROFILE_${LIBPATH_SUFFIX}.dll /INCREMENTAL:NO /DEBUG"
- LINK_FLAGS_RELEASE "/DELAYLOAD:nvcuda.dll /MAP /DELAYLOAD:PxFoundation_${LIBPATH_SUFFIX}.dll /INCREMENTAL:NO"
+ LINK_FLAGS_DEBUG "/DELAYLOAD:nvcuda.dll /MAP /DEBUG"
+ LINK_FLAGS_CHECKED "/DELAYLOAD:nvcuda.dll /MAP "
+ LINK_FLAGS_PROFILE "/DELAYLOAD:nvcuda.dll /MAP /INCREMENTAL:NO /DEBUG"
+ LINK_FLAGS_RELEASE "/DELAYLOAD:nvcuda.dll /MAP /INCREMENTAL:NO"
)
MESSAGE("[NvCloth]cmake/windows/NvCloth.cmake END") \ No newline at end of file