File: INSTALL

package info (click to toggle)
cairo 1.18.4-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 72,788 kB
  • sloc: ansic: 217,451; cpp: 2,108; cs: 1,763; xml: 1,280; sh: 990; python: 433; javascript: 347; awk: 89; makefile: 87
file content (47 lines) | stat: -rw-r--r-- 1,126 bytes parent folder | download | duplicates (17)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
Installation Instructions
=========================

Requirements
------------
As well as the requirements listed in README, the meson build also requires:
  meson (http://mesonbuild.com)
  ninja (http://ninja-build.org)

Basic Installation
------------------
  meson setup $builddir
  ninja -C $builddir
  ninja -C $builddir install

where $builddir is the name of the directory where the build artifacts
will be written to.

Some of the common options that can be used with "meson setup" include:

Set the install prefix.
  --prefix=<path>

Set the build type. Some common build types include "debug" and "release"
  --buildtype=<buildtype>

Compiler and linker flags can be set with the CFLAGS and LDFLAGS
environment variables.

Configuring cairo backends
--------------------------
After running "meson build", "meson configure" can be used to display
or modify the build configuration.

eg

 Display configuration:
    meson configure $builddir

 Enable pdf and disable ps:
    meson configure $builddir -Dpdf=enabled -Dps=disabled

The "-D" options can also be used with "meson setup"

Tests
-----
Refer to test/README