windows: Add icon to executable

This commit is contained in:
Alberto Fanjul 2018-10-25 14:45:13 +02:00
parent 6784aa9f1b
commit 5214bcc3e2
2 changed files with 7 additions and 0 deletions

View file

@ -122,6 +122,10 @@ if gtk_shortcuts_window
vala_flags += '--define=GTK_SHORTCUTS_WINDOW'
endif
if host_system == 'windows'
sources += windows.compile_resources('gitg.rc')
endif
executable(
gitg_name,
sources: sources,

View file

@ -16,6 +16,9 @@ gitg_micro_version = version_array[2].to_int()
gitg_api_version = '1.0'
windows = import('windows')
host_system = host_machine.system()
gitg_gettext = gitg_name
gitg_prefix = get_option('prefix')