summaryrefslogtreecommitdiff
path: root/codeblocks
diff options
context:
space:
mode:
Diffstat (limited to 'codeblocks')
-rw-r--r--codeblocks/chocolate-doom-res.rc20
-rw-r--r--codeblocks/chocolate-doom.cbp8
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" />