mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 00:41:15 -03:00
Update README.md with CMake build instructions
This commit is contained in:
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:
|
Compiling fish requires:
|
||||||
|
|
||||||
* a C++11 compiler (g++ 4.8 or later, or clang 3.3 or later)
|
* 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)
|
* a curses implementation such as ncurses (headers and libraries)
|
||||||
* PCRE2 (headers and libraries) - a copy is included with fish
|
* PCRE2 (headers and libraries) - a copy is included with fish
|
||||||
* MuParser (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
|
### Building from source
|
||||||
|
|
||||||
|
#### Using CMake
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir build; cd build
|
||||||
|
cmake .. # add -DCMAKE_BUILD_TYPE=Release for release build
|
||||||
|
make install
|
||||||
|
````
|
||||||
|
|
||||||
|
#### Using autotools
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
autoreconf --no-recursive #if building from Git
|
autoreconf --no-recursive #if building from Git
|
||||||
./configure
|
./configure
|
||||||
|
|||||||
Reference in New Issue
Block a user