Merge topic 'vs-winrt-default'

e78a0c8e8a VS: Add option to tell generator that platfrom is WinRT by default

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2315
This commit is contained in:
Brad King
2018-08-31 18:50:20 +00:00
committed by Kitware Robot
3 changed files with 13 additions and 2 deletions
@@ -0,0 +1,8 @@
CMAKE_VS_WINRT_BY_DEFAULT
-------------------------
Tell :ref:`Visual Studio Generators` for VS 2010 and above that the
target platform compiles as WinRT by default (compiles with ``/ZW``).
This variable is meant to be set by a
:variable:`toolchain file <CMAKE_TOOLCHAIN_FILE>` for such platforms.