Select Git revision
-
Alexis Nasr authoredAlexis Nasr authored
INSTALL 941 B
make -B
=======
CMAKE install procedure
=======================
The basic procedure to build and install macaon from sources is the following.
- Create a build directory.
If the sources are in the macaon-X.X.X/ directory:
cd macaon-X.X.X
mkdir build
cd build
- Launch the cmake command:
cmake ..
If you want to compile macaon with debugging options type:
cmake -DCMAKE_BUILD_TYPE=Debug ..
If you want to install macaon locally, you can specify the install path with :
cmake -DCMAKE_INSTALL_PREFIX:PATH=/absolute/path/to/macaon_install_dir ..
If you want to create a library to use in python or java
cmake -DMACA_EXPORT=TRUE ..
you need to install the following packages on Ubuntu
sudo apt-get install swig
sudo apt-get install libpython2.7-dev
sudo apt-get install openjdk-8-jdk
or
sudo apt-get install openjdk-7-jdk
- Build the sources with:
make
- Install macaon
make install