Add /LTCG option
What exactly is the benefit of this change? When I look at the size of TeamTalk5.dll on main branch and ltcg branch then it's exactly the same.
What exactly is the benefit of this change? When I look at the size of TeamTalk5.dll on main branch and ltcg branch then it's exactly the same.
Sorry, I just checked. When compiling most files, you'll see a warning message saying that using the /ltcg option will improve linker performance. This is in response to the warning.
Looking at the build times I don't see any improvements in build time compared to master branch
But wouldn't it be nice if we could get rid of the warning message?
By default VS2022 sets Link Time Code Generation to nothing (blank) for Debug and /LTCG:incremental for Release builds on DLL projects.
Then why does this warning appear?