| 1 |
CLAW LIBRARY: INSTALLATION NOTES |
| 2 |
|
| 3 |
SUMMARY: |
| 4 |
1. INSTALL |
| 5 |
2. UNINSTALL |
| 6 |
3. OPTIONS |
| 7 |
|
| 8 |
|
| 9 |
-- 1. INSTALL -- |
| 10 |
|
| 11 |
You need cmake to install this library and also Boost 1.42. Maybe libjpeg 6b and |
| 12 |
libpng 1.2.8 too. |
| 13 |
These two libraries are required by default but can be disabled (see the OPTIONS |
| 14 |
below). |
| 15 |
|
| 16 |
Be sure to NOT turn off the use of libjpeg or libpng if they are required by the |
| 17 |
program you compile libclaw for. If you have a doubt, I recommend to keep the |
| 18 |
default settings. |
| 19 |
|
| 20 |
If you want html documentation, be sure you have "doxygen" installed. |
| 21 |
|
| 22 |
Go in the libclaw-<version> directory. |
| 23 |
|
| 24 |
For the full installation, type : |
| 25 |
cmake . -DOPTION1 -DOPTION2 ... |
| 26 |
make |
| 27 |
make install # as root |
| 28 |
|
| 29 |
See below to know what 'OPTION' can be. |
| 30 |
|
| 31 |
-- 2. UNINSTALL -- |
| 32 |
|
| 33 |
To remove the files you've installed, just type |
| 34 |
make uninstall # as root |
| 35 |
|
| 36 |
|
| 37 |
-- 3. OPTIONS -- |
| 38 |
|
| 39 |
You can customize your installation with the following options. |
| 40 |
|
| 41 |
CLAW_NO_JPEG={true|false} |
| 42 |
Deactivate or activate jpeg support (default is false) |
| 43 |
|
| 44 |
CLAW_NO_PNG={true|false} |
| 45 |
Deactivate or activate png support (default is false) |
| 46 |
|
| 47 |
CLAW_INSTALL_CMAKE_MODULES={true|false} |
| 48 |
Activate or deactivate the installation of the CMake modules for Claw |
| 49 |
(default is true) |
| 50 |
|
| 51 |
CLAW_CMAKE_MODULES_INSTALL_PATH=<dir> |
| 52 |
Allow you to select the directory in which the CMake modules of Claw |
| 53 |
will be installed (useful if you define a special installation prefix). |
| 54 |
|
| 55 |
these are cmake options: |
| 56 |
|
| 57 |
CMAKE_INSTALL_PREFIX=<dir> |
| 58 |
Directory in which the files will be installed (default is /usr/local) |
| 59 |
|
| 60 |
CMAKE_BUILD_TYPE={debug|release|profile} |
| 61 |
Activate or deactivate code debugging/profiling |
| 62 |
|
| 63 |
where : |
| 64 |
{a|b} means either 'a' or 'b' |
| 65 |
<dir> is a path to a directory. |