3.1.31.2.5. waf_tools.preprocess.HPreproc

class waf_tools.preprocess.HPreproc(*k, **kw)

Bases: Task

Task that preprocesses header files.

keyword() → Literal['Processing']

Return the short task label used in build logs.

run() → None

Runs cc -E on a header file to produce a fully-expanded preprocessed output.

Include paths and defines are inherited from the build environment. For app variants the macro INC_FREERTOS_H is defined automatically.