resource file for executable
This commit is contained in:
parent
aab6eb03fc
commit
37fd78926f
|
@ -17,9 +17,6 @@ all: $(PROG)
|
||||||
$(PROG): $(FEGTK_OBJECTS) $(COMLIB) xchat-icon.obj
|
$(PROG): $(FEGTK_OBJECTS) $(COMLIB) xchat-icon.obj
|
||||||
$(LINK) /out:$(PROG) /entry:mainCRTStartup $(LDFLAGS) $(LIBS) $(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
|
xchat.res: xchat.rc ../../xchat.ico
|
||||||
rc /nologo /r xchat.rc
|
rc /nologo /r xchat.rc
|
||||||
|
|
||||||
|
@ -29,5 +26,4 @@ xchat-icon.obj: xchat.res
|
||||||
clean:
|
clean:
|
||||||
@del *.obj
|
@del *.obj
|
||||||
@del $(PROG)
|
@del $(PROG)
|
||||||
@del xchat.rc
|
|
||||||
@del xchat.res
|
@del xchat.res
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue