• 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
Re: autoconf and xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf and xcode


  • Subject: Re: autoconf and xcode
  • From: Tommy Nordgren <email@hidden>
  • Date: Sat, 28 May 2005 13:21:17 +0200


May 28, 2005 kl. 6:47 AM skrev Chris Espinosa:


On May 27, 2005, at 5:50 PM, Warwick Hall wrote:


I am attempting to create a cross platform open source C code library and would like to do my development using Xcode. But since Xcode does not run on other OSes I will not be able to give my "customers" the Xcode project file. Instead I want to create autoconf style makefiles. Does Xcode support this? If so, will it generate the basic files for me?




Yes and no.  An Xcode project can include a makefile-based target, and it uses the make mechanism to do the building.  (In that case you don't get certain features of the Xcode build system.)  Just choose "External Build System" from the New Project dialog.


The "no" is that Xcode won't write a makefile for you. You still have to create the makefile the old-fashioned way.


It IS possible to write the makefile in such a way that it is automatically updated if the Autoconf source changes:


Makefile: configure
	./configure

configure: $(autoconfsource)
	autoconf $(autoconfoptions) $(autoconfsource)

"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"

_______________________________________________
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


References: 
 >autoconf and xcode (From: Warwick Hall <email@hidden>)
 >Re: autoconf and xcode (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: autoconf and xcode
  • Next by Date: Re: gcc-4.0 status
  • Previous by thread: Re: autoconf and xcode
  • Next by thread: Undefined c++ symbols
  • Index(es):
    • Date
    • Thread