Using external config tools to set build options in Project Builder?
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.