mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 03:02:55 +08:00
Update README.md with CMake build instructions
This commit is contained in:
parent
0c1984eb6c
commit
a1cf2e5576
12
README.md
12
README.md
@ -120,7 +120,7 @@ You may need to logout/login for the change (chsh) to take effect.
|
||||
Compiling fish requires:
|
||||
|
||||
* a C++11 compiler (g++ 4.8 or later, or clang 3.3 or later)
|
||||
* either GNU Make (all platforms) or Xcode (macOS only)
|
||||
* CMake, or GNU Make (all platforms), or Xcode (macOS only)
|
||||
* a curses implementation such as ncurses (headers and libraries)
|
||||
* PCRE2 (headers and libraries) - a copy is included with fish
|
||||
* MuParser (headers and libraries) - a copy is included with fish
|
||||
@ -135,6 +135,16 @@ Compiling from git (that is, not a released tarball) also requires:
|
||||
|
||||
### Building from source
|
||||
|
||||
#### Using CMake
|
||||
|
||||
```bash
|
||||
mkdir build; cd build
|
||||
cmake .. # add -DCMAKE_BUILD_TYPE=Release for release build
|
||||
make install
|
||||
````
|
||||
|
||||
#### Using autotools
|
||||
|
||||
```bash
|
||||
autoreconf --no-recursive #if building from Git
|
||||
./configure
|
||||
|
Loading…
x
Reference in New Issue
Block a user