-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINSTALL.txt
57 lines (38 loc) · 1.38 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
This library is a header-only library.
That means you don't need to compile anything to use it in your own project.
You can just write :
#include <Versionning/Version.h>
--------
*) If you have not alread done so, download source code at https://github.com/jeremy-coulon/versionning.git
*) In the following steps $SOURCE_DIR refers to your local copy of the project
--------
If you want to generate doxygen documentation, go through the following steps:
*) cd $SOURCE_DIR
*) mkdir build
*) cd build
*) cmake -DVersionning_BUILD_DOC:BOOL=TRUE ..
*) make
Documentation is now available in $SOURCE_DIR/build/share/doc/html/index.html
--------
If you want to build examples, go through the following steps:
*) cd $SOURCE_DIR
*) mkdir build
*) cd build
*) cmake -DVersionning_BUILD_EXAMPLE:BOOL=TRUE ..
*) make
Examples are now available in $SOURCE_DIR/build/bin
--------
If you want to build tests, go through the following steps:
*) cd $SOURCE_DIR
*) mkdir build
*) cd build
*) cmake -DVersionning_BUILD_TEST:BOOL=TRUE ..
*) make
Tests are now available in $SOURCE_DIR/build/bin
--------
Then, if you want to generate a package, go through the following steps:
*) cd $SOURCE_DIR/build
*) make package
An archive file is now available in the current directory.
For example Versionning_v0.0.1.0.tar.gz.
Note that if you have built the documentation, it will be automatically included in the package.