File tree 1 file changed +16
-6
lines changed
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):
76
76
cd swift
77
77
./utils/update-checkout --clone-with-ssh
78
78
79
+ #### CMake
79
80
[ CMake] ( http://cmake.org ) is the core infrastructure used to configure builds of
80
81
Swift and its companion projects; at least version 2.8.12.2 is required. Your
81
82
favorite Linux distribution likely already has a CMake package you can install.
@@ -85,23 +86,32 @@ command line tools to your `PATH`:
85
86
86
87
export PATH=/Applications/CMake.app/Contents/bin:$PATH
87
88
89
+ #### Ninja
88
90
[ Ninja] ( https://ninja-build.org ) is the current recommended build system
89
91
for building Swift and is the default configuration generated by CMake. If
90
92
you're on OS X or don't install it as part of your Linux distribution, clone
91
93
it next to the other projects and it will be bootstrapped automatically:
92
94
93
- git clone https://github.com/ninja-build/ninja.git
95
+ ##### Build from source
96
+ ** Via https**
94
97
95
- or
98
+ git clone https://github.com/ninja-build/ninja.git && cd ninja
99
+ git checkout release
100
+ cat README
96
101
97
- git clone [email protected] :ninja-build/ninja.git
102
+ ** Via ssh **
98
103
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 [email protected] :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/ ) **
101
111
102
112
brew install cmake ninja
103
113
104
- …or [ MacPorts] ( https://macports.org ) .
114
+ ** [ MacPorts] ( https://macports.org ) **
105
115
106
116
sudo port install cmake ninja
107
117
You can’t perform that action at this time.
0 commit comments