Added information and Dino icon to Windows executable
This commit is contained in:
parent
16d0cc6fd9
commit
1673ec3481
|
@ -213,7 +213,12 @@ OPTIONS
|
|||
)
|
||||
|
||||
add_definitions(${VALA_CFLAGS} -DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\" -DLOCALE_INSTALL_DIR=\"${LOCALE_INSTALL_DIR}\" -DDINO_VERSION=\"${PROJECT_VERSION}\")
|
||||
add_executable(dino ${MAIN_VALA_C} ${MAIN_GRESOURCES_TARGET} src/emojichooser.c)
|
||||
if(WIN32)
|
||||
set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> --use-temp-file -O coff <DEFINES> -i <SOURCE> -o <OBJECT>")
|
||||
add_executable(dino ${MAIN_VALA_C} ${MAIN_GRESOURCES_TARGET} src/emojichooser.c dino-info.rc)
|
||||
else(WIN32)
|
||||
add_executable(dino ${MAIN_VALA_C} ${MAIN_GRESOURCES_TARGET} src/emojichooser.c)
|
||||
endif(WIN32)
|
||||
add_dependencies(dino ${GETTEXT_PACKAGE}-translations)
|
||||
target_include_directories(dino PRIVATE src)
|
||||
target_link_libraries(dino libdino ${MAIN_PACKAGES})
|
||||
|
|
25
main/dino-info.rc
Normal file
25
main/dino-info.rc
Normal file
|
@ -0,0 +1,25 @@
|
|||
1 VERSIONINFO
|
||||
FILEVERSION 0,1,0,0
|
||||
PRODUCTVERSION 0,1,0,0
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "080904E4"
|
||||
BEGIN
|
||||
VALUE "CompanyName", "Dino"
|
||||
VALUE "FileDescription", "Dino - Modern XMPP (""Jabber"") Chat Client"
|
||||
VALUE "FileVersion", "0.1.0-win"
|
||||
VALUE "InternalName", "dino"
|
||||
VALUE "LegalCopyright", "Dino"
|
||||
VALUE "OriginalFilename", "dino.exe"
|
||||
VALUE "ProductName", "Dino"
|
||||
VALUE "ProductVersion", DINO_VERSION
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x809, 1252
|
||||
END
|
||||
END
|
||||
|
||||
DINO_ICO ICON "./dino.ico"
|
BIN
main/dino.ico
Normal file
BIN
main/dino.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 98 KiB |
Loading…
Reference in a new issue