• 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
how to include script-generated code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to include script-generated code?


  • Subject: how to include script-generated code?
  • From: Jeff Ray <email@hidden>
  • Date: Wed, 22 Nov 2006 14:50:35 -0800

I'm new to xcode, so please forgive me if this has an obvious solution.

I have a large, cross-platform application, which I am currently building via makefiles. I am attempting to move it to xcode, and am having trouble translating the notion of creating a source file via a script.

I can create a Run Script target, and make it execute a script that creates a source file (timestamp.cpp). I've even managed to get it to create this file as $DERIVED_FILE_DIR/timestamp.cpp, which the docs seem to suggest is where xcode expects to find such things.

What I can't figure out is how to add a "compile source" build rule, nor how to tell the rull to compile this particular source, nor how to express the dependency to other targets' "link" rules.

Clue for the clueless?

Thanks.

--
------------------------------------------------------------------
Jeff Ray M/S 4840A              Official Correspondence Only:
NASA                             Internet:  email@hidden
Dryden Flight Research Center               email@hidden
P. O. Box 273
Edwards, CA 93523-0273          All Others: .Mac:  email@hidden
(661) 276-3754                               AOL:  email@hidden
_______________________________________________
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: how to include script-generated code?
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Optimization questions
  • Next by Date: Re: how to include script-generated code?
  • Previous by thread: Re: Optimization questions
  • Next by thread: Re: how to include script-generated code?
  • Index(es):
    • Date
    • Thread