-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL.txt
39 lines (29 loc) · 1.24 KB
/
INSTALL.txt
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
=====================================================
DILUCULUM COMPILATION AND INSTALLATION INSTRUCTIONS
=====================================================
Dependencies
~~~~~~~~~~~~~~
Apart from Lua, Diluculum depends only on Boost
(http://www.boost.org).
How to use Diluculum in your project
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I strongly recommend adding Diluculum source and header files to your
project, so that it gets compiled and linked with your application by
your own build system.
Diluculum is reasonably small, so adding it to your project won't make
it so much larger. And, since Diluculum is not widely used, adding it
as an external dependency to your project would just upset your users.
Building as a standalone library
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you decide to ignore the advice on the previous section, or if you
want to help with the development of Diluculum, the way to go is
building with CMake. This way, you can easily compile and link the
library and its unit tests.
If you don't know how to use CMake, I suggest searching for some
tutorial on how to use it. Anyway, under a Unix-like system, building
should look like this:
$ cd <diluculum sources root directory>
$ mkdir build
$ cd build
$ cmake ..
$ make