aboutsummaryrefslogtreecommitdiff
path: root/docs/install.rst
blob: 914e21053bc32a172bf7cf324a58d1ef8a0c3bc5 (plain)
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
34
.. _installing:

Installation guide
==================

libcasio is either built as a static or shared library, and is made to be
interfaced with C programs. The method of installing or building depends on
the system you're using: pick the one that fits yours!

POSIX systems (manual build)
----------------------------

To configure, use ``./configure <options>``. Options are used as
``--<name>=<value>``. The following are some build options:

``--target=<target>``
	The target for which to produce the library (by default, native).

``--static``
	Produce a static library (by default, shared).

``--windows``
	Use the Windows versions of the final formats (dll instead of elf,
	lib instead of coff).

``--no-log``, ``--loglevel=<level>``:
	If we should include debugging content (but keep the interface), and if
	yes, what the default library log level. See :ref:`logging` for more
	information.

``--maintainer``
	Alias for ``--loglevel=info``, also introduces more compilation warnings.

Other options are packaging options (todo: add more info about them here).