Re: .a under version control
Re: .a under version control
- Subject: Re: .a under version control
- From: Lyndsey <email@hidden>
- Date: Thu, 18 May 2006 15:48:11 -0400
- Thread-topic: .a under version control
On 5/18/06 3:37 PM, "Ivan Cavero Belaunde" <email@hidden> wrote:
> You should be able to add a Run Script build phase that has as input the
Here is what I implemented in my bash script (one of the build phases before
linking in the static libs):
#
# Function update_toc updates the table of contents for each static library
in the directory passed in argument 1.
#
function update_toc()
{
cd $1
echo "About to update the TOC for static libraries in the directory:
$1."
for staticLibrary in *.a
do
echo "Updating TOC for $staticLibrary"
ranlib "$staticLibrary"
done
echo "Done updating."
}
# Save the current working directory
currentDirectory="$(pwd)"
update_toc "$SRCROOT/Output/Directory1"
update_toc "$SRCROOT/Output/Directory2"
update_toc "$SRCROOT/Output/Directory3"
# Restore the correct working directory
cd "$currentDirectory"
Lyndsey
--
Lyndsey Ferguson
Software Engineer
email@hidden
VectorWorks 12
Go from life without 12 to life without limits.
Visit http://www.vectorworks.net for more information.
_______________________________________________
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