mirror of
https://github.com/transmission/transmission
synced 2024-12-23 00:04:06 +00:00
(win32) Add application icon as a resource
This commit is contained in:
parent
14166b3cb9
commit
ca288f1619
4 changed files with 14 additions and 5 deletions
|
@ -228,11 +228,7 @@ case $host_os in
|
|||
else
|
||||
hostaliaswindres="$host_alias-windres";
|
||||
fi
|
||||
AC_PATH_PROGS([WINDRES], [windres $hostaliaswindres $host_os-windres])
|
||||
if test "x$WINDRES" = "x"; then
|
||||
AC_MSG_ERROR([windres could not be found within your path.])
|
||||
fi
|
||||
AC_SUBST(WINDRES)
|
||||
AC_CHECK_TOOL(WINDRES, windres)
|
||||
;;
|
||||
|
||||
*beos*)
|
||||
|
|
|
@ -120,6 +120,18 @@ tr-core-dbus.h: $(srcdir)/tr-core-dbus.xml
|
|||
$(DBUS_BINDING_TOOL) --mode=glib-server --prefix=tr_core $< > $(@F)
|
||||
|
||||
if WIN32
|
||||
transmission.res: transmission.rc
|
||||
$(WINDRES) -J rc -i transmission.rc -O coff -o transmission.res
|
||||
|
||||
BUILT_SOURCES = \
|
||||
transmission.res
|
||||
|
||||
CLEANFILES += \
|
||||
transmission.res
|
||||
|
||||
transmission_LDADD += \
|
||||
transmission.res
|
||||
|
||||
transmission_LDFLAGS = \
|
||||
-mwindows
|
||||
endif
|
||||
|
|
BIN
gtk/transmission.ico
Normal file
BIN
gtk/transmission.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.4 KiB |
1
gtk/transmission.rc
Normal file
1
gtk/transmission.rc
Normal file
|
@ -0,0 +1 @@
|
|||
A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "transmission.ico"
|
Loading…
Reference in a new issue