Skip to content

Commit

Permalink
Merge pull request #897 from acts-project/build/relwithdebinfo_lineinfo
Browse files Browse the repository at this point in the history
Enable line information in RelWithDebInfo
  • Loading branch information
stephenswat authored Dec 8, 2024
2 parents 033b4fc + b9e3284 commit 5c2fdd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/detray-compiler-options-cuda.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ endif()
# Make CUDA generate debug symbols for the device code as well in a debug
# build.
detray_add_flag( CMAKE_CUDA_FLAGS_DEBUG "-G -src-in-ptx" )
detray_add_flag( CMAKE_CUDA_FLAGS_RELWITHDEBINFO "-lineinfo -src-in-ptx" )

# Fail on warnings, if asked for that behaviour.
if(DETRAY_FAIL_ON_WARNINGS)
Expand Down

0 comments on commit 5c2fdd0

Please sign in to comment.