-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
66 lines (37 loc) · 1.21 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
54
55
56
57
58
59
60
61
62
63
64
65
66
Installation Instructions
*************************
Copyright (C) 2016 by Oliver Cordes
Basic Installation
==================
We use the cmake http://www.cmake.org/ integrated configuration and build system.
After unpacking the software you need to do the following steps:
mkdir build
cd build
cmake ..
make
# make install if you want to install the binary
Compilers and Options
=====================
If the basic automatic configuration fails or you need special options
for the compiler and linking you can specify these with environment
variables.
E.g.:
- env CXX=/usr/local/bin/g++-5 cmake ..
will use the g++-5 compiler.
- env CXXFLAGS=-g cmake ..
will add the additional option -g
- env LDFLAGS=-L/sw/lib cmake ..
will add an additional library path
- env CXXFLAGS=-I/sw/include cmake ..
will add an additional include path
Documentation
=============
Debugging of the Compilation steps
==================================
cmake doesn't show all commands during compilations. You can use
make VERBOSE=1
to show also the complete compiler commands.
NOTE
====
This documentation is not complete. Don't hesitate to contact the author
for new ideas or upgrades.