IPO: INTERPROCEDURAL_OPTIMIZATION (LTCG) for Visual Studio

Add IPO support for Visual Studio (which is referred to by VS as
"Link Time Code Generation" and "Whole Program Optimization"), for
VS version >= 10.  This allows CMake/VS users to enable IPO by setting
property `INTERPROCEDURAL_OPTIMIZATION`.

Fixes: #16748
This commit is contained in:
Niels Dekker
2018-09-09 23:04:59 +02:00
committed by Brad King
parent ccb6dab9f1
commit 567fabe88e
7 changed files with 19 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
vs-ipo
------
* The :ref:`Visual Studio Generators` for VS 2010 and above learned to
support the :prop_tgt:`INTERPROCEDURAL_OPTIMIZATION` target property
and supporting :module:`CheckIPOSupported` module.