Commit 2e9ceb59 authored by T.J. Corona's avatar T.J. Corona

Add documentation for building CMB

parent f97d9146
......@@ -171,7 +171,7 @@ to provide support.
[download instructions]: doc/dev/
[developer setup script]: Utilities/
[Setup]: doc/dev/
[Build CMB]:
[Build CMB]: doc/dev/
[Create a Topic]: doc/dev/
[Share a Topic]: doc/dev/
[Create a Merge Request]: doc/dev/
Building ModelBuilder
This page describes how to build and install ModelBuilder. It covers building for development, on both Unix-type systems (Linux, HP-UX, Solaris, Mac), and Windows.
At its core, ModelBuilder is a modified version of ParaView designed for extensibility using ParaView's plugin mechanism. As such, the ModelBuilder application only requires ParaView to be *built*, but requires the plugins from the [Simulation and Modeling Toolkit (SMTK)]( to be useful.
* The ModelBuilder build process requires [CMake]( version 3.9 or higher and a working compiler. On Unix-like operating systems, it also requires Make or Ninja, while on Windows it requires Visual Studio and Ninja build.
* Building ModelBuilder also requires a build of [ParaView]( >= v5.6 (not a packaged binary). We are working on providing an installable SDK for ParaView; until this is available, we use ParaView's build directory for this purpose.
* For Windows builds, unix-like environments such as Cygwin, or MinGW are not supported.
Download And Install CMake
CMake is a tool that makes cross-platform building simple. On several systems it will probably be already installed. If it is not, please use the following instructions to install it.
There are several precompiled binaries available at the [CMake download page](
Add CMake to your PATH environment variable if you downloaded an archive and not an installer.
Download and Build ParaView
Follow the instructions outlined on the [Paraview wiki]( to build ParaView. Version 5.6 is currently supported, though earlier versions of ParaView may also work.
(Recommended) Download and Build SMTK
The SMTK project contains plugins that imbue ModelBuilder with the ability to create, manipulate, mesh and annotate models, and to construct and execute simulation workflows. While it is not strictly a required dependency to build ModelBuilder, a version of SMTK provided during ModelBuilder's configuration will automatically make the SMTK plugins available in the built ModelBuilder instance. Follow the instructions outlined in [SMTK's documentation]( to build SMTK >= v3.0.
Retrieve the Source
* [Install Git](git/ -
Git 1.7.2 or greater is required for development
* [Develop CMB](git/ - Create a fork and checkout the source code.
- A useful directory structure is cmb/src for the git source tree, cmb/build for the build tree, and if needed, cmb/install for the install directory.
- Please follow the instructions in [git/] for creating a fork and setting up the repository for contributing to CMB.
Run CMake
* `cd cmb/build`
* `cmake-gui ../src` or `ccmake ../src`
* Generator: choose `ninja` for the ninja build system.
* `cd cmb/build`
* `ninja`
ModelBuilder will be in `bin/modelbuilder.exe`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment