-
Notifications
You must be signed in to change notification settings - Fork 2
Recipes to run the preprocessor #44
Copy link
Copy link
Open
Description
See here.
For detecting which libraries to include in the build, and for generating function prototypes, (just) the preprocessor is run. For this, the recipe.preproc.macros recipe exists. This recipe must run the preprocessor on a given source file, writing the preprocessed output to a given output file, and generate (only) preprocessor errors on standard output. This preprocessor run should happen with the same defines and other preprocessor-influencing-options as for normally compiling the source files.
This came to light trying to compile src/TommyPROM/HardwareVerify: it fails due to a missing function prototype.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels