Skip to content

Commit

Permalink
README.md: explain how to build and install with cmake [minor]
Browse files Browse the repository at this point in the history
  • Loading branch information
hoijui committed Oct 19, 2017
1 parent 9fffb25 commit a8cb0fd
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,28 @@ You'll probably need a decent ncurses library to get this to work. I
have provided a binary that depends on ncurses 4.2 & glibc6.

### Building and installing cmatrix
To install cmatrix, in the cmatrix directory run:
To install cmatrix, use either of the following methods from within the cmatrix directory.

#### using `configure`
```
./configure
make
make install
```

#### using CMake
Here we also show an out-of-source build in the sub directory "build".
```
mkdir -p build
cd build
# to install to "/usr/local"
cmake ..
# or to install to "/usr"
#cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
make install
```

### Running cmatrix
After you have installed cmatrix just run `cmatrix` to run cmatrix :)

Expand Down

0 comments on commit a8cb0fd

Please sign in to comment.