Git Product home page Git Product logo

ios-overlay's Introduction

#iOS SDK Overlay

##Installation

  • Install Git
  • git clone git://github.com/jcayzac/ios-overlay.git

##Building libraries

Example: building the Boost C++ Libraries.

  • Open a terminal
  • Run source/boost/build

If all goes fine, headers should be installed in /iOS_SDK_Overlay/overlay/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS?.?.sdk/usr.

###Target SDK

By default, the toolchain targets the latest iOS SDK available on the host computer. You can target an older SDK, for instance iPhoneOS4.1, by issuing:

source/boost/build SDK=4.1

###Using LLVM

To be documented

##Using the overlay in an Xcode project

  • Add the following in your Header Search Paths setting: /iOS_SDK_Overlay/overlay/$(SDK_DIR)/usr/include
  • Add the following in your Library Search Paths setting: /iOS_SDK_Overlay/overlay/$(SDK_DIR)/usr/lib
  • Add any library you want to link against, by name, to the Other Linker Flags setting. For instance: -lminizip -lbz2 -lebml
  • Build, run, enjoy!

##Updating the overlay

cd /iOS_SDK_Overlay
git pull
...see what changed and rebuild accordingly

##License Short version: it's BSD.

Long boring version:

Copyright 2010 Julien Cayzac. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:

   1. Redistributions of source code must retain the above copyright notice, this list of
      conditions and the following disclaimer.

   2. Redistributions in binary form must reproduce the above copyright notice, this list
      of conditions and the following disclaimer in the documentation and/or other materials
      provided with the distribution.

THIS SOFTWARE IS PROVIDED BY JULIEN CAYZAC _AS IS_ AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JULIEN CAYZAC OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those of the
authors and should not be interpreted as representing official policies, either expressed
or implied, of Julien Cayzac.

ios-overlay's People

Contributors

jcayzac avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

ios-overlay's Issues

Create a wrapper script for operations such as compile, link, copytree, etc…

A bit like the libtool.sh script.
I could then use it as the command passed to xargs, and instead of printing the whole command line in all its ugliness I could do something like:

compile.c++ src/mydir/file1.cpp
compile.c++ src/mydir/sub/file2.cpp
link .libs/foobar.a
install libfoobar/file1.h
install libfoobar/sub/file2.h

…with nice colors etc.

[improvement] support for multicore builds

Example of spawning multiple subprocesses:

unset pids i
for CHILD in 1 2 3
do
    ( command line ) &
    pids[i++]=${!}
done
for CHILD_PID in ${pids[@]}
do
    wait $CHILD_PID
    echo "Process $CHILD_PID exited with status $?"
done

Remove dependency over wget

Currently I require wget, which must be installed via macports. I should switch to curl instead, as it's part of MacOS.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.