forked from DevelopersHeaven/LogWitch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
70 lines (49 loc) · 1.38 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
67
68
69
LogWitch
========
This is a graphical tool for analyzing logfiles. The project uses a CMake controlled
build-process.
Used libraries:
---------------
- boost
- Qt5
need component Network
- log4cplus
- python3
qtdeclarative5-dev
qtdeclarative5-dev-tools
qttools5-dev-tools
Build instructions:
-------------------
There are two possibilities of building, in source and out of source.
Out of source is recommended if one is not developing.
1) In Source build:
Go to base directory and execute (this builds RELEASE!):
cmake .
make
make install
2) Out of source build:
Make new directory build:
mkdir build
Build it (DEBUG!):
cd build
cmake .. -DCMAKE_BUILD_TYPE=debug
make
Build it (RELEASE!):
cd build
cmake .. -DCMAKE_BUILD_TYPE=release
make
Packaging:
----------
CMake in conjunction with CPack has a nice feature to create distrubution packages.
To use this feature proceed as mentioned in build instructions. After build has
finished, use cpack to create a package:
A standard .tar.gz archive:
cpack
A RPM (need rpmbuild):
cpack -G RPM
A deb package:
cpack -G DEB
Building for distributions
--------------------------
There is a chance to have a ready to run .sh script in the root folder which is called buildHelper_*.sh
By using this, the correct settings for a given configuration will be used to build the project.