User forums > Using Code::Blocks

windres options

<< < (2/2)

Revan:
windres missing -D

from windres manual:
-D target
--define sym[=val]
Specify a -D option to pass to the preprocessor when reading an rc file.

for example when I define DEBUG in compiler options I get
windres.exe -i D:\home\marek\WORKSP~1\CODEBL~1\WX7F47~1\resource.rc -J rc -o obj\Debug\resource.res -O coff -ID:\codeblocks\wxWidgets-2.8.12\include -ID:\codeblocks\wxWidgets-2.8.12\lib\gcc_dll\mswud

so missing -DDEBUG

latest svn 7075

Navigation

[0] Message Index

[*] Previous page

Go to full version