| 1 |
-- INSTALL for libdivsufsort |
| 2 |
|
| 3 |
|
| 4 |
Requirements: |
| 5 |
============= |
| 6 |
|
| 7 |
* CMake version 2.4.2 or newer (http://www.cmake.org/) |
| 8 |
* An ANSI C compiler |
| 9 |
* GNU Make |
| 10 |
|
| 11 |
|
| 12 |
Compilation and Installation (with Unix Makefiles): |
| 13 |
=================================================== |
| 14 |
|
| 15 |
1. Create a 'build' directory in the package source directory. |
| 16 |
|
| 17 |
$ cd libdivsufsort-?.?.? |
| 18 |
$ mkdir build |
| 19 |
$ cd build |
| 20 |
|
| 21 |
2. Configure the package for your system. |
| 22 |
|
| 23 |
$ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="/usr/local" .. |
| 24 |
|
| 25 |
3. Compile the package. |
| 26 |
|
| 27 |
$ make |
| 28 |
|
| 29 |
4. Install the library and header files. |
| 30 |
|
| 31 |
# make install |