ref: 2f78d0d86e254ed4bdf22196991a881407c09764
parent: 57c924292889e4f49eb972662657084fcf807fdd
author: Russell Rice <rtc_marine@hotmail.com>
date: Mon Sep 18 23:38:15 EDT 2006
make the icon work in the client binary Subversion-branch: /trunk/chocolate-doom Subversion-revision: 618
--- /dev/null
+++ b/codeblocks/chocolate-doom-res.rc
@@ -1,0 +1,20 @@
+1 ICON "..\\data\\chocolate-doom.ico"
+
+1 VERSIONINFO
+FILETYPE 1
+{
+ BLOCK "StringFileInfo"
+ {
+ BLOCK "040904E4"
+ {
+ VALUE "FileVersion", ""
+ VALUE "FileDescription", ""
+ VALUE "InternalName", "Chocolate-Doom"
+ VALUE "CompanyName", "Chocolate-Doom"
+ VALUE "LegalCopyright", "GNU General Public License"
+ VALUE "ProductName", "Chocolate-Doom"
+ VALUE "ProductVersion", ""
+ }
+ }
+}
+
--- a/codeblocks/chocolate-doom.cbp
+++ b/codeblocks/chocolate-doom.cbp
@@ -47,7 +47,13 @@
<Linker>
<Add option="-lmingw32 -lSDLmain -lSDL -lSDL_mixer -lSDL_net -mwindows" />
</Linker>
- <Unit filename="msvc\config.h">
+ <Unit filename="chocolate-doom-res.rc">
+ <Option compilerVar="WINDRES" />
+ <Option objectName="codeblocks\chocolate-doom-res.res" />
+ <Option target="Debug" />
+ <Option target="Release" />
+ </Unit>
+ <Unit filename="..\msvc\config.h">
<Option compilerVar="CPP" />
<Option compile="0" />
<Option link="0" />