• 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 pass additional parameters to make in Xcode legacy project ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to pass additional parameters to make in Xcode legacy project ?


  • Subject: How to pass additional parameters to make in Xcode legacy project ?
  • From: Paul Russell <email@hidden>
  • Date: Wed, 2 Mar 2005 14:45:11 +0000

I'm trying to get Xcode to work with a legacy Makefile, The problem is that I need to be abel to pass additional parameters to make when it is invoked. Ideally I would have different build styles which could be set up to pass different parameters to make, e.g.

Deployment: make FOO=0
Development: make FOO=1

(the real situation is a lot more complicated than this and there are soemwhat more than two different possibilities)

I've tried adding these parameters to what seems like an obvious place, e.g. Project-> Get Info -> Build -> Additional Compiler Flags but they don't "stick" so maybe Xcode doesn't think of make as a "compiler" in this sense (or maybe it's just a bug in Xcode ?) ?

Currently I can only see one horribly kludgy solution which would be to create a whole bunch of small Makefiles which call the main Makefile with the different parameters and then have a whole bunch of different targets, one for each Makefile variation. There must be a better way, surely ? I expect I'm missing something obvious.

Paul

_______________________________________________
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 pass additional parameters to make in Xcode legacy project ?
      • From: Mike Lazear <email@hidden>
  • Prev by Date: Interface Builder Cocoa nib contents (data.dependency)
  • Next by Date: Re: How to expand debugger variable pane?
  • Previous by thread: Interface Builder Cocoa nib contents (data.dependency)
  • Next by thread: Re: How to pass additional parameters to make in Xcode legacy project ?
  • Index(es):
    • Date
    • Thread