Modifying Xcode's preprocessing routine
Modifying Xcode's preprocessing routine
- Subject: Modifying Xcode's preprocessing routine
- From: Jim Turner <email@hidden>
- Date: Fri, 30 Oct 2009 08:08:09 -0500
I have a need to look at the files Xcode will compile before the
preprocessor gets a stab at them. In short, I need to stick a
preprocessor in front of the preprocessor.
All the Google and mailing lists searching has netted me nada when it
comes to details on how to run the default Xcode build process for
C-based files after modifying the build rule for "C source files".
Xcode seems to call a process (shell script? voodoo chant?) called
"CompileC" but I cannot find it to call it myself after I'm done with
the source file. Ideally, I'd love to run a very small perl script
that would take the original source file, diddle as needed sending the
output to a temp file, the have CompileC use that source file instead
of the original.
Any ideas? I asked this question on Stack Overflow and got a handful
of blank stares. I didn't think this would be such a difficult problem
to solve.
Thanks
--
Jim
http://nukethemfromorbit.com
_______________________________________________
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