mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-07-01 20:20:29 +08:00
Update .dll copy for 7_libNVVM
This commit is contained in:
parent
7ee6db679e
commit
cc3d94f81c
@ -81,3 +81,12 @@ set_target_properties(mathfuncs64 PROPERTIES PREFIX "lib"
|
|||||||
OUTPUT_NAME "mathfuncs64"
|
OUTPUT_NAME "mathfuncs64"
|
||||||
SUFFIX ".a" CUDA_SEPERABLE_COMPILATION ON)
|
SUFFIX ".a" CUDA_SEPERABLE_COMPILATION ON)
|
||||||
install(TARGETS cuda-c-linking mathfuncs64 DESTINATION bin)
|
install(TARGETS cuda-c-linking mathfuncs64 DESTINATION bin)
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
add_custom_command(
|
||||||
|
TARGET cuda-c-linking
|
||||||
|
POST_BUILD
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||||
|
"${CMAKE_BINARY_DIR}/nvvm64_40_0.dll" "$<TARGET_FILE_DIR:cuda-c-linking>"
|
||||||
|
)
|
||||||
|
endif ()
|
Loading…
x
Reference in New Issue
Block a user