mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-25 15:18:23 +00:00
Make Aseprite a DPI-aware application (fix #1041)
This commit is contained in:
parent
6b0e23fa8f
commit
8775604e56
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
8
src/main/settings.manifest
Normal file
8
src/main/settings.manifest
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user