Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an -imacros option #54

Open
tichy3000 opened this issue Jan 5, 2022 · 0 comments
Open

Add an -imacros option #54

tichy3000 opened this issue Jan 5, 2022 · 0 comments

Comments

@tichy3000
Copy link

It would be nice to have an option like the -imacros option from cpp. (I can't see a way to achieve this behaviour with gpp)

To cite the cpp manual:

-imacros file
Exactly like -include, except that any output produced by
scanning file is thrown away. Macros it defines remain
defined. This allows you to acquire all the macros from a
header without also processing its declarations.
All files specified by -imacros are processed before all
files specified by -include.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants