summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2019-04-21 12:34:04 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2019-04-21 12:34:04 +0200
commit8dc104e0b7f99ff6f073d5e0c79b27bbc57ee832 (patch)
tree70b6fb94553c4a74f21fbf743ed42257139bfe84
parentFixed compilation in MSVC v142 (diff)
downloadAltCraft-8dc104e0b7f99ff6f073d5e0c79b27bbc57ee832.tar
AltCraft-8dc104e0b7f99ff6f073d5e0c79b27bbc57ee832.tar.gz
AltCraft-8dc104e0b7f99ff6f073d5e0c79b27bbc57ee832.tar.bz2
AltCraft-8dc104e0b7f99ff6f073d5e0c79b27bbc57ee832.tar.lz
AltCraft-8dc104e0b7f99ff6f073d5e0c79b27bbc57ee832.tar.xz
AltCraft-8dc104e0b7f99ff6f073d5e0c79b27bbc57ee832.tar.zst
AltCraft-8dc104e0b7f99ff6f073d5e0c79b27bbc57ee832.zip
-rw-r--r--CMakeLists.txt3
-rw-r--r--src/app.manifest8
2 files changed, 10 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e5c3a85..ac8e5c8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,10 +13,11 @@ endif()
# SOURCES
##########
+file(GLOB_RECURSE MANIFEST "./src/*.manifest")
file(GLOB_RECURSE SOURCES "./src/*.cpp")
file(GLOB_RECURSE HEADERS "./src/*.hpp")
-add_executable(AltCraft ${HEADERS} ${SOURCES})
+add_executable(AltCraft ${HEADERS} ${SOURCES} ${MANIFEST})
################
# CONFIGURATION
diff --git a/src/app.manifest b/src/app.manifest
new file mode 100644
index 0000000..26b3834
--- /dev/null
+++ b/src/app.manifest
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+ <application xmlns="urn:schemas-microsoft-com:asm.v3">
+ <windowsSettings>
+ <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
+ </windowsSettings>
+ </application>
+</assembly> \ No newline at end of file