Describes how to compile and install idol from source.
To build idol from source, you need:
You can verify your tools with:
Follow these steps to compile and install idol.
Using a separate build directory keeps the source tree clean.
This compiles the idol library and the idol_cl executable.
By default, this installs files into:
If the command prints the version, the installation was successful.
You can customize the build using CMake options.
When installing via package managers (apt-get or brew), MibS is included automatically.
When building from source, you must enable and configure it manually.
First, install MibS by following the instructions on the official MibS documentation. Then either:
Finally, enable MibS with the CMake option USE_MIBS=ON.
Both COIN_OR_HOME and COIN_OR_DIR must point to the COIN-OR dist directory.
To install into a custom location, set:
Example:
The executable will be installed into:
To build the example programs:
To build the test suite: