summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Rice2006-12-16 02:29:59 +0000
committerRussell Rice2006-12-16 02:29:59 +0000
commitfda01561bdeabca8ccd2139cdfa6568da017fff6 (patch)
tree28a9b2fc5a136148d20e8c4bbca475b619e536df
parent877604dcefc3bc9186b9b24fc5412f6073fc93c9 (diff)
downloadchocolate-doom-fda01561bdeabca8ccd2139cdfa6568da017fff6.tar.gz
chocolate-doom-fda01561bdeabca8ccd2139cdfa6568da017fff6.tar.bz2
chocolate-doom-fda01561bdeabca8ccd2139cdfa6568da017fff6.zip
Add icon to chocolate-setup binary when built
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 781
-rw-r--r--codeblocks/chocolate-setup-res.rc20
-rw-r--r--codeblocks/chocolate-setup.cbp6
2 files changed, 26 insertions, 0 deletions
diff --git a/codeblocks/chocolate-setup-res.rc b/codeblocks/chocolate-setup-res.rc
new file mode 100644
index 00000000..233bc031
--- /dev/null
+++ b/codeblocks/chocolate-setup-res.rc
@@ -0,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", ""
+ }
+ }
+}
+
diff --git a/codeblocks/chocolate-setup.cbp b/codeblocks/chocolate-setup.cbp
index 22a7a9f2..8f436745 100644
--- 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" />