How to configure and compile an OpenGeode module
This page explains how to configure and compile a module that depends on OpenGeode, either it is an provided module (for instance OpenGeode-Geosciences) or your own module As for OpenGeode configuration and compilation, the procedure is very simple.
What do you need
You need exactly the same tools than for compiling OpenGeode (given here). You also need to have compiled or installed OpenGeode.
Module configuration
As for OpenGeode configuration, this step depends on your platform.
Follow the same
procedure than for OpenGeode but by
specifying the CMAKE_PREFIX_PATH
to OpenGeode install path.
For example:
cmake -DCMAKE_PREFIX_PATH=path/to/OpenGeode/build/opengeode/install
..
If the module depends on several modules (for instance OpenGeode-GeosciencesIO that depends on OpenGeode and OpenGeode-Geosciences), do the following:
cmake
-DCMAKE_PREFIX_PATH="where/is/install/OpenGeode;where/is/install/OpenGeode-Geosciences"
..