diff options
author | Russell Rice | 2006-09-19 03:38:15 +0000 |
---|---|---|
committer | Russell Rice | 2006-09-19 03:38:15 +0000 |
commit | 2f78d0d86e254ed4bdf22196991a881407c09764 (patch) | |
tree | d24bdf19c8959e7d790412e1c369b37e466db736 | |
parent | 57c924292889e4f49eb972662657084fcf807fdd (diff) | |
download | chocolate-doom-2f78d0d86e254ed4bdf22196991a881407c09764.tar.gz chocolate-doom-2f78d0d86e254ed4bdf22196991a881407c09764.tar.bz2 chocolate-doom-2f78d0d86e254ed4bdf22196991a881407c09764.zip |
make the icon work in the client binary
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 618
-rw-r--r-- | codeblocks/chocolate-doom-res.rc | 20 | ||||
-rw-r--r-- | codeblocks/chocolate-doom.cbp | 8 |
2 files changed, 27 insertions, 1 deletions
diff --git a/codeblocks/chocolate-doom-res.rc b/codeblocks/chocolate-doom-res.rc new file mode 100644 index 00000000..37dffa45 --- /dev/null +++ b/codeblocks/chocolate-doom-res.rc @@ -0,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", "" + } + } +} + diff --git a/codeblocks/chocolate-doom.cbp b/codeblocks/chocolate-doom.cbp index 9ee141a0..efe6ccd0 100644 --- 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" /> |