Skip to content

Building Climinal

zacmarco edited this page Apr 9, 2020 · 3 revisions

Climinal is made of two main components:

  • The Climinal library, that needs to be linked by the application code, and that provide all the APIs to configure and start a Climinal shell

  • Climinal-tools, that have to be used by CLI developers to create CLI structure and generate the relevant C code

Building Climinal library

Enter the directory climinal/cmake and follow the instructions on INSTALL file to build libraries through CMake:

my-linux-box$ cd cmake
my-linux-box$ cmake -DCMAKE_INSTALL_PREFIX=<your_prefix> ..
my-linux-box$ make
my-linux-box$ make install

In case you are building Climinal in a cross environment, this library has to be built for host architecture.

Building Climinal tools

At the moment, the only available tool is climinalbuilder.

In order to build the tools, enter the tools directory and follow the instructions on INSTALL file. Procedure is identical to building the main library

my-linux-box$ cd tools/cmake
my-linux-box$ cmake -DCMAKE_INSTALL_PREFIX=<your_prefix> ..
my-linux-box$ make
my-linux-box$ make install

In case you are building Climinal in a cross environment, tools need to be built for build architecture.

ENJOY

Clone this wiki locally