mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-10-25 22:28:17 +08:00
Turn on assert log for SimpleAssert and copy files to folder of executable for watershedSegmentationNPP
This commit is contained in:
@@ -41,19 +41,19 @@ target_link_libraries(watershedSegmentationNPP PRIVATE
|
||||
add_custom_command(TARGET watershedSegmentationNPP POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../Common/data/teapot_512x512_8u_Gray.raw
|
||||
${CMAKE_CURRENT_BINARY_DIR}/
|
||||
$<TARGET_FILE_DIR:watershedSegmentationNPP>/
|
||||
)
|
||||
|
||||
# Copy data files to output directory
|
||||
add_custom_command(TARGET watershedSegmentationNPP POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../Common/data/CT_skull_512x512_8u_Gray.raw
|
||||
${CMAKE_CURRENT_BINARY_DIR}/
|
||||
$<TARGET_FILE_DIR:watershedSegmentationNPP>/
|
||||
)
|
||||
|
||||
# Copy data files to output directory
|
||||
add_custom_command(TARGET watershedSegmentationNPP POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../../Common/data/Rocks_512x512_8u_Gray.raw
|
||||
${CMAKE_CURRENT_BINARY_DIR}/
|
||||
$<TARGET_FILE_DIR:watershedSegmentationNPP>/
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user