Adding HiDPI support (WIP)

This commit is contained in:
Hombre
2018-10-25 20:22:33 +02:00
parent c34bd31765
commit 4eb8a8f70c
1213 changed files with 875 additions and 379 deletions

View File

@@ -120,6 +120,8 @@ set(NONCLISOURCEFILES
rgbcurves.cc
rotate.cc
rtimage.cc
rtsurface.cc
rtscalable.cc
rtwindow.cc
saveasdlg.cc
saveformatpanel.cc
@@ -240,6 +242,10 @@ add_executable(rth-cli ${EXTRA_SRC_CLI} ${CLISOURCEFILES})
add_dependencies(rth UpdateInfo)
add_dependencies(rth-cli UpdateInfo)
#Define a target specific definition to use in code
target_compile_definitions(rth PUBLIC GUIVERSION)
target_compile_definitions(rth-cli PUBLIC CLIVERSION)
# Set executables targets properties, i.e. output filename and compile flags
# for "Debug" builds, open a console in all cases for Windows version
if((WIN32) AND NOT(UPPER_CMAKE_BUILD_TYPE STREQUAL "DEBUG"))