mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:00:08 +00:00
Windows application icon
This commit is contained in:
parent
bc9f057871
commit
334ca03a88
3 changed files with 38 additions and 1 deletions
BIN
scwx-qt/res/icons/scwx-256.ico
Normal file
BIN
scwx-qt/res/icons/scwx-256.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 106 KiB |
32
scwx-qt/res/scwx-qt.rc
Normal file
32
scwx-qt/res/scwx-qt.rc
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
#include "winver.h"
|
||||||
|
|
||||||
|
IDI_ICON1 ICON "icons\\scwx-256.ico"
|
||||||
|
|
||||||
|
VS_VERSION_INFO VERSIONINFO
|
||||||
|
FILEVERSION 0,1,0,0
|
||||||
|
PRODUCTVERSION 0,1,0,0
|
||||||
|
FILEFLAGS 0x0L
|
||||||
|
FILEFLAGSMASK 0x3fL
|
||||||
|
FILEOS 0x00040004L
|
||||||
|
FILETYPE 0x1L
|
||||||
|
FILESUBTYPE 0x0L
|
||||||
|
BEGIN
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK "000004b0"
|
||||||
|
BEGIN
|
||||||
|
VALUE "CompanyName", "Dan Paulat"
|
||||||
|
VALUE "FileDescription", "Supercell Wx"
|
||||||
|
VALUE "FileVersion", "0.1.0.0"
|
||||||
|
VALUE "LegalCopyright", "Copyright (C) 2021-2023 Dan Paulat"
|
||||||
|
VALUE "InternalName", "scwx"
|
||||||
|
VALUE "OriginalFilename", "supercell-wx.exe"
|
||||||
|
VALUE "ProductName", "Supercell Wx"
|
||||||
|
VALUE "ProductVersion", "0.1.0.0"
|
||||||
|
END
|
||||||
|
END
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x0, 1200
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
@ -314,7 +314,12 @@ set_target_properties(update_translations PROPERTIES FOLDER qt)
|
||||||
|
|
||||||
set_target_properties(scwx-qt_generate_counties_db PROPERTIES FOLDER generate)
|
set_target_properties(scwx-qt_generate_counties_db PROPERTIES FOLDER generate)
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
set(APP_ICON_RESOURCE_WINDOWS "${scwx-qt_SOURCE_DIR}/res/scwx-qt.rc")
|
||||||
|
qt_add_executable(supercell-wx ${EXECUTABLE_SOURCES} ${APP_ICON_RESOURCE_WINDOWS})
|
||||||
|
else()
|
||||||
qt_add_executable(supercell-wx ${EXECUTABLE_SOURCES})
|
qt_add_executable(supercell-wx ${EXECUTABLE_SOURCES})
|
||||||
|
endif()
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
target_compile_definitions(scwx-qt PUBLIC WIN32_LEAN_AND_MEAN)
|
target_compile_definitions(scwx-qt PUBLIC WIN32_LEAN_AND_MEAN)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue