- CMake version >= 2.8.8
- Can be installed via homebrew:
brew install cmake
- Can be installed via homebrew:
- zlib (should be installed on OSX >= 10.9)
-
First clone the repository:
git clone [email protected]:pimentel/kallisto.git -
Move to the source directory:
cd kallisto -
Make a build directory and move there
mkdir build cd build -
Execute cmake. There are a few options:
-DBUILD_TESTING=ONbuilds tests (off by default)-DCMAKE_INSTALL_PREFIX:PATH=$HOMEwhich will put kallisto in$HOME/binas opposed to the default (/usr/local/bin)
cmake ..This is only required when one of the
CMakeLists.txtfiles changes or new source files are introduced. It will make a new set ofMakefiles -
Build the code
makeOptionally install into the cmake install prefix path:
make install -
Run the code. The source tree hierarchy is copied, so you can find kallisto at
src/kallistoand tests attest/tests.
After performing these steps, you can simply build using make as long as new
source files aren't introduced or the CMakeLists.txt scripts aren't modified.