Commit 66505026 authored by Mike Kremer's avatar Mike Kremer

Set cuda debug flags in debug mode

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11812 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 792732f9
......@@ -476,7 +476,7 @@ function (_build_openflipper_plugin plugin)
# Prepare the files
if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
message("Compiling cuda sources in debug mode")
CUDA_COMPILE(${_PLUGIN}_CUDA_GENERATED_FILES ${${_PLUGIN}_CUDA_SRCS} " -g -G -deviceemu -Xcompile ")
CUDA_COMPILE(${_PLUGIN}_CUDA_GENERATED_FILES ${${_PLUGIN}_CUDA_SRCS} OPTIONS -g -G --device-emulation -Xcompiler)
else()
message("Compiling cuda sources in release mode")
CUDA_COMPILE(${_PLUGIN}_CUDA_GENERATED_FILES ${${_PLUGIN}_CUDA_SRCS})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment