cmake/Help/prop_tgt/VS_WINRT_COMPONENT.rst

14 lines
449 B
ReStructuredText
Raw Normal View History

2015-04-27 22:25:09 +02:00
VS_WINRT_COMPONENT
------------------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.1
2015-04-27 22:25:09 +02:00
Mark a target as a Windows Runtime component for the Visual Studio generator.
Compile the target with ``C++/CX`` language extensions for Windows Runtime.
For ``SHARED`` and ``MODULE`` libraries, this also defines the
``_WINRT_DLL`` preprocessor macro.
.. note::
Currently this is implemented only by Visual Studio generators.
Support may be added to other generators in the future.