File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed
Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ uploading SSH keys to GitHub):
7676 cd swift
7777 ./utils/update-checkout --clone-with-ssh
7878
79+ #### CMake
7980[ CMake] ( http://cmake.org ) is the core infrastructure used to configure builds of
8081Swift and its companion projects; at least version 2.8.12.2 is required. Your
8182favorite Linux distribution likely already has a CMake package you can install.
@@ -85,23 +86,32 @@ command line tools to your `PATH`:
8586
8687 export PATH=/Applications/CMake.app/Contents/bin:$PATH
8788
89+ #### Ninja
8890[ Ninja] ( https://ninja-build.org ) is the current recommended build system
8991for building Swift and is the default configuration generated by CMake. If
9092you're on OS X or don't install it as part of your Linux distribution, clone
9193it next to the other projects and it will be bootstrapped automatically:
9294
93- git clone https://github.com/ninja-build/ninja.git
95+ ##### Build from source
96+ ** Via https**
9497
95- or
98+ git clone https://github.com/ninja-build/ninja.git && cd ninja
99+ git checkout release
100+ cat README
96101
97- git clone git@github.com:ninja-build/ninja.git
102+ ** Via ssh **
98103
99- You can also install CMake and Ninja on OS X using a third-party
100- packaging tool like [ Homebrew] ( http://brew.sh ) …
104+ git clone git@github.com:ninja-build/ninja.git && cd ninja
105+ git checkout release
106+ cat README
107+
108+ #### Install via third-party packaging tool (OSX only)
109+
110+ ** [ Homebrew] ( http://brew.sh/ ) **
101111
102112 brew install cmake ninja
103113
104- …or [ MacPorts] ( https://macports.org ) .
114+ ** [ MacPorts] ( https://macports.org ) **
105115
106116 sudo port install cmake ninja
107117
You can’t perform that action at this time.
0 commit comments