File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed
Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -93,12 +93,13 @@ function(vpkedit_configure_target TARGET)
9393 "$<$<CONFIG:Release>:/OPT:ICF>" )
9494 endif ()
9595
96- # Add an icon to the executable
96+ # Add an icon and manifest to the executable
9797 if (TARGET_TYPE STREQUAL "EXECUTABLE" )
9898 target_sources (
9999 ${TARGET} PRIVATE
100100 "$<$<CONFIG:Debug>:${CMAKE_CURRENT_SOURCE_DIR} /src/shared/res/logo_alt.rc>"
101- "$<$<NOT:$<CONFIG:Debug>>:${CMAKE_CURRENT_SOURCE_DIR} /src/shared/res/logo.rc>" )
101+ "$<$<NOT:$<CONFIG:Debug>>:${CMAKE_CURRENT_SOURCE_DIR} /src/shared/res/logo.rc>"
102+ "${CMAKE_CURRENT_SOURCE_DIR} /src/gui/res/program.manifest" )
102103 endif ()
103104
104105 # Don't show the console when running the executable
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2+ <assembly manifestVersion =" 1.0" xmlns =" urn:schemas-microsoft-com:asm.v1" >
3+
4+ <trustInfo xmlns =" urn:schemas-microsoft-com:asm.v3" >
5+ <security >
6+ <requestedPrivileges >
7+ <requestedExecutionLevel level =" asInvoker" uiAccess =" false" />
8+ </requestedPrivileges >
9+ </security >
10+ </trustInfo >
11+
12+ <application xmlns =" urn:schemas-microsoft-com:asm.v3" >
13+ <windowsSettings >
14+ <activeCodePage xmlns =" http://schemas.microsoft.com/SMI/2019/WindowsSettings" >UTF-8</activeCodePage >
15+ <dpiAware xmlns =" http://schemas.microsoft.com/SMI/2005/WindowsSettings" >true</dpiAware >
16+ <dpiAwareness xmlns =" http://schemas.microsoft.com/SMI/2016/WindowsSettings" >PerMonitorV2</dpiAwareness >
17+ </windowsSettings >
18+ </application >
19+
20+ </assembly >
You can’t perform that action at this time.
0 commit comments