File: compiling.mdx

package info (click to toggle)
conky 1.22.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,940 kB
  • sloc: cpp: 63,722; ansic: 18,079; python: 813; xml: 324; sh: 243; makefile: 142; javascript: 139
file content (41 lines) | stat: -rw-r--r-- 996 bytes parent folder | download | duplicates (2)
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
---
title: Compiling
description: How to compile Conky from source
indexWeight: 0
---

Using CMake to build Conky is pretty easy, and here is how I do it:

1. From the top level source dir, create a build working dir, and cd into it

```shell-session
mkdir build
cd build
```

2. Run the cmake configuration process

```shell-session
cmake ../ # pass the path to the sources to cmake
```

OR

```shell-session
ccmake ../ # you can also use the fance curses interface, or try cmake-gui
```

3. Compile as usual, and enjoy the out-of-source goodness

```shell-session
make
sudo make install # if you want
```

There are a number of build options for Conky, and the best way to discover
them is to use the `ccmake` (or `cmake-gui`) CMake tool for browsing them.

Certain Conky build time features (such as doc generation) require third-party
applications, which you should be notified of via CMake. In the case of doc
generation, you'll need the docbook2X package (available on most
distributions).