VS_WINRT_COMPONENT.rst 426 B

1234567891011
  1. VS_WINRT_COMPONENT
  2. ------------------
  3. Mark a target as a Windows Runtime component for the Visual Studio generator.
  4. Compile the target with ``C++/CX`` language extensions for Windows Runtime.
  5. For ``SHARED`` and ``MODULE`` libraries, this also defines the
  6. ``_WINRT_DLL`` preprocessor macro.
  7. .. note::
  8. Currently this is implemented only by Visual Studio generators.
  9. Support may be added to other generators in the future.