This is an automated email from the git hooks/post-receive script. thansen pushed a commit to branch master in repository aseprite.
commit 8775604e5629bb73d9133e41b46efe3f11d48334 Author: David Capello <[email protected]> Date: Mon Apr 18 13:27:36 2016 -0300 Make Aseprite a DPI-aware application (fix #1041) --- CMakeLists.txt | 9 ++++++++- INSTALL.md | 2 +- src/CMakeLists.txt | 4 +++- src/main/settings.manifest | 8 ++++++++ 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 35e96c8..fffd3a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,14 @@ # Parts of this file come from the Allegro 4.4 CMakeLists.txt # CMake setup -cmake_minimum_required(VERSION 2.6 FATAL_ERROR) +if(WIN32) + # We need 3.4 to use manifests in the source files list for the main + # application target. + cmake_minimum_required(VERSION 3.4) +else() + cmake_minimum_required(VERSION 2.6) +endif() + enable_testing() if(COMMAND cmake_policy) diff --git a/INSTALL.md b/INSTALL.md index d08bdd1..a1514e4 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -43,7 +43,7 @@ On Windows you can use programs like # Dependencies Aseprite uses the latest version of [CMake](http://www.cmake.org/) -(3.0 or greater) as its build system. Also we use +(3.4 or greater) as its build system. Also we use [Ninja](https://ninja-build.org) build files regularly instead of Visual Studio or Xcode projects. Finally, you will need `awk` utility to compile the embedded (non-shared version of) libpng library (on diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 69467f1..03aa0fd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -142,7 +142,9 @@ add_custom_target(copy_data DEPENDS ${out_data_files}) # Aseprite application if(WIN32) - set(win32_resources main/resources_win32.rc) + set(win32_resources + main/resources_win32.rc + main/settings.manifest) endif() if(UNIX AND NOT APPLE AND USE_ALLEG4_BACKEND) diff --git a/src/main/settings.manifest b/src/main/settings.manifest new file mode 100644 index 0000000..2c61cab --- /dev/null +++ b/src/main/settings.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" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> + <asmv3:application> + <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> + <dpiAware>True/PM</dpiAware> + </asmv3:windowsSettings> + </asmv3:application> +</assembly> -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

