|
unifdef
☆
« Back to VersTracker
|
||||||||||||||||||||
|
Description: Selectively process conditional C preprocessor directives |
||||||||||||||||||||
| Type: Formula | Tracked Since: Dec 28, 2025 | ||||||||||||||||||||
| Links: Homepage | formulae.brew.sh | ||||||||||||||||||||
| Category: Developer tools | ||||||||||||||||||||
| Tags: c-preprocessor code-processing developer-tools command-line unifdef | ||||||||||||||||||||
| Install: brew install unifdef | ||||||||||||||||||||
|
About: Unifdef is a command-line utility that evaluates conditional C preprocessor directives in source files. It removes code blocks that are false under a specified set of macros, effectively simplifying the code for a specific configuration. This is useful for maintaining clean, configuration-specific source files without the clutter of conditional logic. |
||||||||||||||||||||
Key Features:
|
||||||||||||||||||||
Use Cases:
|
||||||||||||||||||||
Alternatives:
|
||||||||||||||||||||
| Version History | ||||||||||||||||||||
|