diff options
author | Matt Weir <mattweir73@gmail.com> | 2019-06-16 00:27:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-06-26 13:55:49 (GMT) |
commit | cd92f8f8bf9d3312f195ac5c27c129ff7868fa7e (patch) | |
tree | bc5baa382c6b204250799e5f0682a83701272bba /Tests/RunCMake/VS10Project/VsDpiAware.cmake | |
parent | 6f7b68e7f969ae39622492b27a6f4bbb79d25117 (diff) | |
download | CMake-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 'Tests/RunCMake/VS10Project/VsDpiAware.cmake')
-rw-r--r-- | Tests/RunCMake/VS10Project/VsDpiAware.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/RunCMake/VS10Project/VsDpiAware.cmake b/Tests/RunCMake/VS10Project/VsDpiAware.cmake new file mode 100644 index 0000000..74e3d21 --- /dev/null +++ b/Tests/RunCMake/VS10Project/VsDpiAware.cmake @@ -0,0 +1,19 @@ +set(CMAKE_CONFIGURATION_TYPES Debug) +enable_language(C) +enable_language(CXX) + +add_executable(DPIAWARE-default-C empty.c) +add_executable(DPIAWARE-default-CXX empty.cxx) + +add_executable(DPIAWARE-TGT-PERMONITOR-C empty.c) +set_property(TARGET DPIAWARE-TGT-PERMONITOR-C PROPERTY VS_DPI_AWARE "PerMonitor") +add_executable(DPIAWARE-TGT-PERMONITOR-CXX empty.cxx) +set_property(TARGET DPIAWARE-TGT-PERMONITOR-CXX PROPERTY VS_DPI_AWARE "PerMonitor") +add_executable(DPIAWARE-TGT-ON-C empty.c) +set_property(TARGET DPIAWARE-TGT-ON-C PROPERTY VS_DPI_AWARE ON) +add_executable(DPIAWARE-TGT-ON-CXX empty.cxx) +set_property(TARGET DPIAWARE-TGT-ON-CXX PROPERTY VS_DPI_AWARE ON) +add_executable(DPIAWARE-TGT-OFF-C empty.c) +set_property(TARGET DPIAWARE-TGT-OFF-C PROPERTY VS_DPI_AWARE OFF) +add_executable(DPIAWARE-TGT-OFF-CXX empty.cxx) +set_property(TARGET DPIAWARE-TGT-OFF-CXX PROPERTY VS_DPI_AWARE OFF) |