Turn on assert log for SimpleAssert and copy files to folder of executable for watershedSegmentationNPP

This commit is contained in:
shawnz
2025-02-10 17:02:44 +08:00
parent 95308ffc23
commit 11bc856cad
2 changed files with 6 additions and 3 deletions

View File

@@ -14,6 +14,9 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
# set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -G") # enable cuda-gdb (expensive)
endif()
# Removes -DNDEBUG For Print specific logs in this sample.
string(REPLACE "-DNDEBUG" "" CMAKE_CUDA_FLAGS_RELEASE "${CMAKE_CUDA_FLAGS_RELEASE}")
# Include directories and libraries
include_directories(../../../Common)