diff options
author | Mikhail Korolev <stilriv@gmail.com> | 2018-08-28 18:14:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-08-30 16:46:57 (GMT) |
commit | e78a0c8e8a0b002a1e0e71672efcf96418c3a26d (patch) | |
tree | dd951c2102c51545195b6e5e8c93bead8201acdb /Help/variable | |
parent | c549deed7fc6dec2c3f5f3ab5f9ded1acb916239 (diff) | |
download | CMake-e78a0c8e8a0b002a1e0e71672efcf96418c3a26d.zip CMake-e78a0c8e8a0b002a1e0e71672efcf96418c3a26d.tar.gz CMake-e78a0c8e8a0b002a1e0e71672efcf96418c3a26d.tar.bz2 |
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
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/CMAKE_VS_WINRT_BY_DEFAULT.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_VS_WINRT_BY_DEFAULT.rst b/Help/variable/CMAKE_VS_WINRT_BY_DEFAULT.rst new file mode 100644 index 0000000..2ba8fe2 --- /dev/null +++ b/Help/variable/CMAKE_VS_WINRT_BY_DEFAULT.rst @@ -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. |