mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
VS: Add option to tell generator that platfrom is WinRT by default
Create a ``CMAKE_VS_WINRT_BY_DEFAULT`` variable to indicate this. Fixes: #18286
This commit is contained in:
committed by
Brad King
parent
c549deed7f
commit
e78a0c8e8a
8
Help/variable/CMAKE_VS_WINRT_BY_DEFAULT.rst
Normal file
8
Help/variable/CMAKE_VS_WINRT_BY_DEFAULT.rst
Normal file
@@ -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.
|
||||
Reference in New Issue
Block a user