1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-22 15:54:57 +00:00

(win32) Add application icon as a resource

This commit is contained in:
Mukund Sivaraman 2008-09-06 04:31:08 +00:00
parent 14166b3cb9
commit ca288f1619
4 changed files with 14 additions and 5 deletions

View file

@ -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*)

View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

1
gtk/transmission.rc Normal file
View file

@ -0,0 +1 @@
A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "transmission.ico"