• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Modifying Xcode's preprocessing routine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Modifying Xcode's preprocessing routine
      • From: Jason Foreman <email@hidden>
  • Prev by Date: Re: Zombie app
  • Next by Date: Re: LLVM 2.6 Released / Can it be used with Xcode?
  • Previous by thread: Re: Changing application name in application and help menus
  • Next by thread: Re: Modifying Xcode's preprocessing routine
  • Index(es):
    • Date
    • Thread