llvm::WindowsResourceProcessor

Compiles Windows resource (.rc) script input into a .res binary stream.

Synopsis

Declared in <llvm/WindowsResource/ResourceProcessor.h>

class WindowsResourceProcessor;

Description

Collects preprocessor defines and include paths, then runs the resource compilation pipeline over the supplied script text and writes the result to an output stream.

Type Aliases

NameDescription
PathType Path buffer type used for include directories.

Member Functions

NameDescription
WindowsResourceProcessor [constructor]Construct a processor with no defines, includes, or option flags set.
addDefine Add a preprocessor define for the resource script.
addInclude Add a directory to search when resolving #include directives.
process Compile the resource script and write a .res binary to OutputStream.
setNullAtEnd Control whether a trailing null is appended to STRINGTABLE entries.
setVerbose Enable or disable verbose diagnostic output during processing.