MSVC release builds: Ensure that /LTCG is used
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 23 Oct 2015 01:40:00 +0000 (09:40 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 23 Oct 2015 01:40:00 +0000 (09:40 +0800)
commitfc5394e7ca78d6d6272a3591236f99c11ffc5111
tree6c1aa6afebe00660838fa2ee4832eafd5a4106bd
parentd6e771342956f14069b3f91febe71c70537efe86
MSVC release builds: Ensure that /LTCG is used

MSVC 2015 changed its default link-time code generation setting to
/LTCG:incremental, which causes problems if /opt:noref is to be used,
meaning that some code will be optimized out by the linker.

Avoid this situtation here by enforcing the use of /LTCG for MSVC 2010+
builds.
build/win32/vs10/atk.vcxprojin