mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Update README.md with CMake build instructions
This commit is contained in:
parent
0c1984eb6c
commit
a1cf2e5576
1 changed files with 11 additions and 1 deletions
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…
Reference in a new issue