Skip to content

Commit

Permalink
fix forwarding of msvc compiler flag '/Zo' (#2266)
Browse files Browse the repository at this point in the history
* fix forwarding of msvc compiler flag '/Zo'

* remove accidental change from pr

---------

Co-authored-by: Sven Erdem <[email protected]>
  • Loading branch information
ichinii and ichinii authored May 7, 2024
1 parent 540beba commit 1b8146e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common/devCompileOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if(MSVC)
endif()
# Improve debugging.
list(APPEND alpaka_DEV_COMPILE_OPTIONS "$<$<AND:$<CONFIG:Debug>,$<COMPILE_LANGUAGE:CXX>>:SHELL:/Zo>"
"$<$<AND:$<CONFIG:Debug>,$<COMPILE_LANGUAGE:CUDA>>:-Xcompiler /Zo>")
"$<$<AND:$<CONFIG:Debug>,$<COMPILE_LANGUAGE:CUDA>>:SHELL:-Xcompiler /Zo>")

# Flags added in Visual Studio 2013
list(APPEND alpaka_DEV_COMPILE_OPTIONS "$<$<COMPILE_LANGUAGE:CXX>:SHELL:/Zc:throwingNew>"
Expand Down

0 comments on commit 1b8146e

Please sign in to comment.