mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
ec25acb399
(option_values): Add new OPTION_PREPROCESSOR_ARG enumerator. (option long_options): Add preprocessor-arg option. (main): Handle it. * doc/binutils.texi: Add documentation for --preprocessor-arg option. * NEWS: Add line about new --preprocessor-arg option for windres. * binutils-all/windres/windres.exp: Add '// cpparg <option>' command to rc file interpretation to specify addition pre-processor commands as script option. * binutils-all/windres/strtab3.rc: New. * binutils-all/windres/strtab3.rsd: New. * binutils-all/windres/README: Add note about cpparg script option. argument
15 lines
160 B
Plaintext
15 lines
160 B
Plaintext
// cpparg -DTEST=1
|
|
|
|
#include "windows.h"
|
|
|
|
LANGUAGE 0, 0
|
|
|
|
STRINGTABLE MOVEABLE PURE DISCARDABLE
|
|
BEGIN
|
|
#ifdef TEST
|
|
1 "hello, world"
|
|
#else
|
|
1 "fail"
|
|
#endif
|
|
END
|