Update README.md with CMake build instructions

This commit is contained in:
ridiculousfish 2017-10-14 13:57:03 -07:00
parent 0c1984eb6c
commit a1cf2e5576

View file

@ -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