forked from ktechlab/ktechlab
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINSTALL
58 lines (38 loc) · 1.28 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
Basic Installation
==================
These are generic installation instructions.
cmake doesn't produce any output into the source directory, by default.
Instead it uses extra build directories for that. (This makes the
make clean procedure obsolete, because you only have to remove the build dir)
To compile this project, simply create a build dir:
mkdir build
#cd into the build dir
cd build
#run cmake to do the "configure magic"
#(yes, the two dots point to the source dir)
cmake ..
#make
make
#and make install
make install
Compilers and Options
=====================
Compiler options can be set via ccmake or directly as a command-line option
for cmake. The most easy way would be to use ccmake.
To compile in debug symbols use:
cmake -DCMAKE_BUILD_TYPE=debug ..
Installation Names
==================
By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving `cmake' the
option `-DCMAKE_INSTALL_PREFIX=PATH'.
Optional Features
=================
{TODO}
Operation Controls
==================
Some interesting cmake variables include:
-DCMAKE_VERBOSE_MAKEFILE=ON
This makes cmake to create verbose Makefiles to see options given
to gcc and friends