ref: fda01561bdeabca8ccd2139cdfa6568da017fff6
parent: 877604dcefc3bc9186b9b24fc5412f6073fc93c9
author: Russell Rice <[email protected]>
date: Fri Dec 15 21:29:59 EST 2006
Add icon to chocolate-setup binary when built Subversion-branch: /trunk/chocolate-doom Subversion-revision: 781
--- /dev/null
+++ b/codeblocks/chocolate-setup-res.rc
@@ -1,0 +1,20 @@
+1 ICON "..\\data\\chocolate-setup.ico"
+
+1 VERSIONINFO
+FILETYPE 1
+{
+ BLOCK "StringFileInfo"
+ {
+ BLOCK "040904E4"
+ {
+ VALUE "FileVersion", ""
+ VALUE "FileDescription", ""
+ VALUE "InternalName", "Chocolate-Setup"
+ VALUE "CompanyName", "Chocolate-Setup"
+ VALUE "LegalCopyright", "GNU General Public License"
+ VALUE "ProductName", "Chocolate-Setup"
+ VALUE "ProductVersion", ""
+ }
+ }
+}
+
--- a/codeblocks/chocolate-setup.cbp
+++ b/codeblocks/chocolate-setup.cbp
@@ -48,6 +48,12 @@
<Add option="-lmingw32 -lSDLmain -lSDL -mwindows" />
<Add directory="..\bin" />
</Linker>
+ <Unit filename="chocolate-setup-res.rc">
+ <Option compilerVar="WINDRES" />
+ <Option objectName="codeblocks\chocolate-setup-res.res" />
+ <Option target="Debug" />
+ <Option target="Release" />
+ </Unit>
<Unit filename="..\setup\compatibility.c">
<Option compilerVar="CC" />
<Option target="Debug" />