summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/VS_WINRT_COMPONENT.rst
blob: a017f0ea74937894d9655e28e21eda892240fde1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
VS_WINRT_COMPONENT
------------------

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::
  Behavior is not defined for targets with source files that compile as
  any language other than ``CXX``.

  Currently this is implemented only by Visual Studio generators.
  Support may be added to other generators in the future.