Re: "Partial" preprocessing of files?
Re: "Partial" preprocessing of files?
- Subject: Re: "Partial" preprocessing of files?
- From: Jens Alfke <email@hidden>
- Date: Tue, 22 Oct 2013 20:41:56 -0700
On Oct 22, 2013, at 4:41 PM, Rick Mann < email@hidden> wrote: Is there any way to get macro expansion in a source file without getting all the content of #import or #include files?
Run it through a regexp that inserts “//“ before “#include” and “#import”, then preprocess the result? (It’s probably doable as a one-line shell command that pipes the file through sed and clang.)
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden