mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 02:13:38 +08:00
parent
5b90fa0bda
commit
38f6296fdc
14
README.md
14
README.md
|
@ -109,6 +109,8 @@ Sphinx is also optionally required to build the documentation from a cloned git
|
|||
|
||||
### Building from source (all platforms) - Makefile generator
|
||||
|
||||
To install into `/usr/local`, run:
|
||||
|
||||
```bash
|
||||
mkdir build; cd build
|
||||
cmake ..
|
||||
|
@ -116,6 +118,8 @@ make
|
|||
sudo make install
|
||||
```
|
||||
|
||||
The install directory can be changed using the `-DCMAKE_INSTALL_PREFIX` parameter for `cmake`.
|
||||
|
||||
### Building from source (macOS) - Xcode
|
||||
|
||||
```bash
|
||||
|
@ -123,7 +127,15 @@ mkdir build; cd build
|
|||
cmake .. -G Xcode
|
||||
```
|
||||
|
||||
An Xcode project will now be available in the `build` subdirectory.
|
||||
An Xcode project will now be available in the `build` subdirectory. You can open it with Xcode,
|
||||
or run the following to build and install in `/usr/local`:
|
||||
|
||||
```bash
|
||||
xcodebuild
|
||||
xcodebuild -scheme install
|
||||
```
|
||||
|
||||
The install directory can be changed using the `-DCMAKE_INSTALL_PREFIX` parameter for `cmake`.
|
||||
|
||||
### Help, it didn't build!
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user