1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
* Compilation
First, create a new directory:
mkdir build
cd build
Configure Ella:
cmake ..
Several options are available to help developers, and users:
* -DELLA_DATADIR: if you don't want to install the data files on your
system, it can be sueful to set the path of the data directory.
e.g. cmake .. -DELLA_DATADIR=../data # if you compile in the build/ directory.
* -DCMAKE_BUILD_TYPE: standard cmake option, to specify if we are in
debug or release mode. The mode is set to Release by default, use
Debug add the debug symbols, which are useful to debug.
e.g. cmake .. -DELLA_DATADIR=../data -DCMAKE_BUILD_TYPE=Debug
* -DWITHOUT_SWFDEC: to enable/disable the use of swfdec. By default, it
is enabled. Note: use this function disable some features of Ella, but
doesn't require to have swfdec.
e.g. cmake .. -DELLA_DATADIR=../data -DWITHOUT_SWFDEC=Yes
Then, to compile Ella:
make
* Installation/launch Ella
Now, you should be able to install Ella or to launch it from this directory.
To install it:
make install
Note: this requires administration rights.
To launch it:
if you haven't installed it (you need to set a ELLA_DATADIR with cmake,
see at the top of this document):
src/ella
if it is installed:
ella
|