blob: 34247f9e577ec031d21c48b29b62483351085504 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
Using the CMake build system
============================
There are basically two options for how to run ToME once built.
Option #1 : Run ToME from the build directory
=============================================
Simply run the commands below.
$ cmake .
$ make
You should now be able to run
$ ./src/tome2
to start ToME.
This is currently the recommended option.
Option #2: Run ToME from a system install location
==================================================
Run
$ cmake -DSYSTEM_INSTALL:BOOL=true .
$ make
$ sudo make install
You can now run ToME from anywhere.
NOTE: The user running ToME must have write access to the
install location's lib/data subdirectory for the first run.
(This is because the *.raw files will be generated the first
time ToME is run.)
You can also use DESTDIR when installing to install into a different
location (useful with e.g. stow or when building distribution packages).
Compiling on Ubuntu
===================
If you're having trouble compiling on an Ubuntu install you are
probably missing the
build-essential
package.
Each frontend requires the additional packages listed below:
X11: libx11-dev
SDL: libsdl-image1.2-dev, libsdl-ttf2.0-dev
ncurses: libncurses5-dev
|