Skip to content

Update some Readme strucutre and styles #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 9, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ uploading SSH keys to GitHub):
cd swift
./utils/update-checkout --clone-with-ssh

#### CMake
[CMake](http://cmake.org) is the core infrastructure used to configure builds of
Swift and its companion projects; at least version 2.8.12.2 is required. Your
favorite Linux distribution likely already has a CMake package you can install.
Expand All @@ -85,23 +86,32 @@ command line tools to your `PATH`:

export PATH=/Applications/CMake.app/Contents/bin:$PATH

#### Ninja
[Ninja](https://ninja-build.org) is the current recommended build system
for building Swift and is the default configuration generated by CMake. If
you're on OS X or don't install it as part of your Linux distribution, clone
it next to the other projects and it will be bootstrapped automatically:

git clone https://github.com/ninja-build/ninja.git
##### Build from source
**Via https**

or
git clone https://github.com/ninja-build/ninja.git && cd ninja
git checkout release
cat README

git clone [email protected]:ninja-build/ninja.git
**Via ssh**

You can also install CMake and Ninja on OS X using a third-party
packaging tool like [Homebrew](http://brew.sh)…
git clone [email protected]:ninja-build/ninja.git && cd ninja
git checkout release
cat README

#### Install via third-party packaging tool (OSX only)

**[Homebrew](http://brew.sh/)**

brew install cmake ninja

…or [MacPorts](https://macports.org).
**[MacPorts](https://macports.org)**

sudo port install cmake ninja

Expand Down