We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e9b8c4 commit 9c1b632Copy full SHA for 9c1b632
1 file changed
CMakeLists.txt
@@ -20,11 +20,11 @@ if(MSVC)
20
# Disable SafeSEH: required to link BRender
21
# TODO: fix FindBRender to set this correctly when compiling with ClangCL
22
set(CMAKE_EXE_LINKER_FLAGS "/SAFESEH:NO")
23
+ else()
24
+ # Generate debug information for Edit and Continue / Hot Reload
25
+ string(REPLACE "/Zi" "/ZI" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
26
+ string(REPLACE "/Zi" "/ZI" CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
27
endif()
-
- # Generate debug information for Edit and Continue / Hot Reload
- string(REPLACE "/Zi" "/ZI" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
- string(REPLACE "/Zi" "/ZI" CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
28
29
30
include(CMakeDependentOption)
0 commit comments