The /ZI flag adds in "Edit and Continue" debug information, which will cause massive slowdown. It is not a flag that we should be adding by default to debug builds. /Zi will still be added.pull/8220/head
parent
903c8716e3
commit
a3d8dc546c
3 changed files with 21 additions and 6 deletions
@ -0,0 +1,14 @@ |
||||
## "Edit and continue" (/ZI) is no longer used by default for Visual Studio |
||||
|
||||
Meson was adding the `/ZI` compiler argument as an argument for Visual Studio |
||||
in debug mode. This enables the `edit-and-continue` debugging in |
||||
Visual Studio IDE's. |
||||
|
||||
Unfortunately, it is also extremely expensive and breaks certain use cases such |
||||
as link time code generation. Edit and continue can be enabled by manually by |
||||
adding `/ZI` to compiler arguments. |
||||
|
||||
The `/ZI` argument has now been replaced by the `/Zi` argument for debug builds. |
||||
|
||||
If this is an important issue for you and would like a builtin toggle option, |
||||
please file an issue in the Meson bug tracker. |
Loading…
Reference in new issue