summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/VS_WINRT_COMPONENT.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/prop_tgt/VS_WINRT_COMPONENT.rst')
-rw-r--r--Help/prop_tgt/VS_WINRT_COMPONENT.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/prop_tgt/VS_WINRT_COMPONENT.rst b/Help/prop_tgt/VS_WINRT_COMPONENT.rst
new file mode 100644
index 0000000..a017f0e
--- /dev/null
+++ b/Help/prop_tgt/VS_WINRT_COMPONENT.rst
@@ -0,0 +1,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.