I am reviewing the flags we have for our MSVC projects, and I can't get enough documentation on the following features:
- Use Link Time Code Generation (/ltcg)
- enable function level linking (/Gy)
- Eliminate Unreferenced Data (/OPT:REF)
- Remove Redundant COMDATs (/OPT:ICF)
- optimize for windows98 No (/OPT:NOWIN98)
- Enable string pooling (/GF)
we do use separate debug/release builds, so I'm mainly interested in flags for release. explanations about these flags and how they interelate, as well as which ones you use in your own projects are very welcome!