-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
54 lines (32 loc) · 1.15 KB
/
INSTALL
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
CMake
=====
This prohect should build with CMake in the usual way. At its simplest, this
should be:
mkdir build
cd build
cmake ..
make
And optionally 'make install'
Makeshift
=========
It is also possible to build with makeshift, my bespoke build system. You
probably don't want to do that, but in case you do; here's some guidance:
If the makeshift directory is empty then you probably need to run
$ git submodule init
$ git submodule update
Next you will need some dependencies:
- boost (not sure which version exactly). If your distro splits boost into
multiple packages you'll need Boost.Filesystem.
- readline, obviously.
You may need to add some things to user.mk, e.g. to get the right g++ version. Here for example is my user.mk:
CXX = g++-4.4.1
See makeshift/INSTALL for details of what goes in user.mk.
Then to get a debug version it should be simply
$ make
and you can run the test app with
$ make test
If it all works you can build the release version with
$ make release
This will build inside a directory called release. But, frankly, this is not a
performance-critical application, so you're probably better off sticking to
debug mode.