summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
diff options
context:
space:
mode:
authorMatt Weir <mattweir73@gmail.com>2019-06-16 00:27:13 (GMT)
committerBrad King <brad.king@kitware.com>2019-06-26 13:55:49 (GMT)
commitcd92f8f8bf9d3312f195ac5c27c129ff7868fa7e (patch)
treebc5baa382c6b204250799e5f0682a83701272bba /Help/prop_tgt
parent6f7b68e7f969ae39622492b27a6f4bbb79d25117 (diff)
downloadCMake-cd92f8f8bf9d3312f195ac5c27c129ff7868fa7e.zip
CMake-cd92f8f8bf9d3312f195ac5c27c129ff7868fa7e.tar.gz
CMake-cd92f8f8bf9d3312f195ac5c27c129ff7868fa7e.tar.bz2
VS: Add VS_DPI_AWARE target property
Enables setting the visual studio project property for Manifests, controlling the DPI Aware setting.
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r--Help/prop_tgt/VS_DPI_AWARE.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/prop_tgt/VS_DPI_AWARE.rst b/Help/prop_tgt/VS_DPI_AWARE.rst
new file mode 100644
index 0000000..82640cc
--- /dev/null
+++ b/Help/prop_tgt/VS_DPI_AWARE.rst
@@ -0,0 +1,14 @@
+VS_DPI_AWARE
+------------
+
+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")