4
libccd contains several mechanisms how to compile and install it.
5
Using a simple Makefile, using autotools and using CMake.
10
Directory ``src/`` contains Makefile that should contain everything needed for compilation and installation:
18
Library libccd is by default compiled in double precision of floating point
19
numbers - you can change this by options ``USE_SINGLE``/``USE_DOUBLE``, i.e.:
25
will compile library in single precision.
26
Installation directory can be changed by options ``PREFIX``, ``INCLUDEDIR``
28
For more info type '``make help``'.
33
libccd also contains support for autotools:
34
Generate configure script etc.:
40
Create new ``build/`` directory:
44
$ mkdir build && cd build
52
Run make and make install:
56
$ make && make install
58
configure script can change the way libccd is compiled and installed, most
59
significant option is ``--enable-double-precision`` which enables double
60
precision (single is default in this case).