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

.. versionadded:: 3.16

Set the Manifest Tool -> Input and Output -> DPI Awareness in the Visual Studio
target project properties.

Valid values are ``PerMonitor``, ``ON``, or ``OFF``.

For example:

.. code-block:: cmake

  add_executable(myproject myproject.cpp)
  set_property(TARGET myproject PROPERTY VS_DPI_AWARE "PerMonitor")