resource file for executable

This commit is contained in:
berkeviktor@aol.com 2010-10-09 09:03:15 +02:00
parent aab6eb03fc
commit 37fd78926f
2 changed files with 22 additions and 4 deletions

View File

@ -17,9 +17,6 @@ all: $(PROG)
$(PROG): $(FEGTK_OBJECTS) $(COMLIB) xchat-icon.obj
$(LINK) /out:$(PROG) /entry:mainCRTStartup $(LDFLAGS) $(LIBS) $(FEGTK_OBJECTS) $(COMLIB) xchat-icon.obj
xchat.rc:
echo XC_ICON ICON "../../xchat.ico" > xchat.rc
xchat.res: xchat.rc ../../xchat.ico
rc /nologo /r xchat.rc
@ -29,5 +26,4 @@ xchat-icon.obj: xchat.res
clean:
@del *.obj
@del $(PROG)
@del xchat.rc
@del xchat.res

22
src/fe-gtk/xchat.rc Normal file
View File

@ -0,0 +1,22 @@
#include <winver.h>
#include "../../config.h"
XC_ICON ICON "../../xchat.ico"
VS_VERSION_INFO VERSIONINFO
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "FileDescription", "XChat-WDK IRC Client"
VALUE "ProductName", "XChat-WDK"
VALUE "ProductVersion", PACKAGE_VERSION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 0x04B0
END
END