• 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
Using external config tools to set build options in Project Builder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using external config tools to set build options in Project Builder?


  • Subject: Using external config tools to set build options in Project Builder?
  • From: Sherm Pendley <email@hidden>
  • Date: Mon, 14 Oct 2002 16:59:36 -0400

A number of open-source libraries install a config tool that prints the compiler and linker switches needed to use the library. For example, after installing the libxml2 package from Fink, I run "xml2-config --libs" and get the following:

-L/sw/lib -lxml2 -lz -L/sw/lib -liconv -lm

So, my question is this: How can I get the output from one of these config tools, and store it in a Project Builder build option? I've tried back ticks ``, I've tried zsh-style command interpolation with $() - nothing seems to work.

I understand that I can set environment variables in my login script, and PB will be able to use them, but I don't see much point in that; if developers have to configure by hand to build my app, I may as well simply show them how to set the build options in PB. I'm looking for a solution where another developer can simply download my project folder and click "build."

sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: EOF - was (Cocoa Books (was New to Cocoa) )
  • Next by Date: Re: EOF - was (Cocoa Books (was New to Cocoa) )
  • Previous by thread: Re: Cocoa_With_Carbon_or_C++.pbproj ain't compiling!
  • Next by thread: How to hide toolbar control in menu bar
  • Index(es):
    • Date
    • Thread