From 5431f3f9ab2f41df5f702f31b19a27e5061fd730 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 31 Jan 2015 22:24:26 -0800 Subject: On Windows, add icon and identifying meta-data to executable. * Makefile (EXTRA_OBJS-y): New variable. (WINDRES): New recipe. * configure: Check for presence of windres, and generate add_win_res variable in config.make. * win/txr.xcf: New file: GIMP project for icon. * win/txr.ico: New file: icon with three sizes generated from GIMP project. * win/txr.rc: New file. --- win/txr.rc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 win/txr.rc (limited to 'win/txr.rc') diff --git a/win/txr.rc b/win/txr.rc new file mode 100644 index 00000000..6c1fbd30 --- /dev/null +++ b/win/txr.rc @@ -0,0 +1,28 @@ +#define XSTR(X) #X +#define STR(X) XSTR(X) + +icon ICON "txr.ico" + +1 VERSIONINFO +FILEVERSION TXR_VER,0,0,0 +PRODUCTVERSION TXR_VER,0,0,0 +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "080904E4" + BEGIN + VALUE "CompanyName", "Kaz Kylheku" + VALUE "FileDescription", "TXR Language" + VALUE "InternalName", "txr" + VALUE "LegalCopyright", "Kaz Kylheku" + VALUE "OriginalFilename", "txr.exe" + VALUE "ProductName", "TXR Language" + VALUE "ProductVersion", STR(TXR_VER) + END + END + + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x809, 1252 + END +END -- cgit v1.2.3