Skip to content

Building using cmake

Dilawar Singh edited this page Aug 12, 2015 · 2 revisions

Program cmake can be used to build MOOSE along with gnu-make. Both Makefile and cmake file CMakeFiles.txt is provided. This page describes how to build moose using cmake.

Download the source code

You can download the source code using git.

 git clone --depth 100 https://github.com/BhallaLab/moose-core 

Or you can download the latest master branch as a zip file form here. Unzip the source code at some place e.g. /home/dilawar/Downloads/moose

Building

$ cd path/to/moose/source
$ mkdir _build
$ cd _build
$ cmake ..
$ make 

Installing

$ sudo make install
Clone this wiki locally