VS_DPI_AWARE¶
3.16 版新增。
在 Visual Studio 目标项目属性中设置 Manifest Tool -> Input and Output -> DPI Awareness。
有效值为 PerMonitor、ON 或 OFF。
例如
add_executable(myproject myproject.cpp)
set_property(TARGET myproject PROPERTY VS_DPI_AWARE "PerMonitor")
3.16 版新增。
在 Visual Studio 目标项目属性中设置 Manifest Tool -> Input and Output -> DPI Awareness。
有效值为 PerMonitor、ON 或 OFF。
例如
add_executable(myproject myproject.cpp)
set_property(TARGET myproject PROPERTY VS_DPI_AWARE "PerMonitor")