mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
6910fab63f
Also allows better parallelization since there's no contention on a PDB file with compiling.
7 lines
274 B
CMake
7 lines
274 B
CMake
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
|
foreach(f CMAKE_C_FLAGS_DEBUG CMAKE_CXX_FLAGS_DEBUG CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_CXX_FLAGS_RELWITHDEBINFO)
|
|
if("${${f}}" MATCHES "/Zi")
|
|
string(REGEX REPLACE "/Zi" "/Z7" "${f}" "${${f}}")
|
|
endif()
|
|
endforeach()
|
|
endif() |