• 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: .a under version control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >RE: .a under version control (From: "Ivan Cavero Belaunde" <email@hidden>)

  • Prev by Date: Re: say, what happened to prefix files?
  • Next by Date: Re: .a under version control
  • Previous by thread: RE: .a under version control
  • Next by thread: Re: .a under version control
  • Index(es):
    • Date
    • Thread