File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -56,18 +56,30 @@ The configure command supports the following parameters:
56
56
57
57
enable dynamic monitoring of reference count (enabled by default).
58
58
59
- Example of parameters usage (all of this needs to be typed in one line):
59
+ ## Example of parameters usage
60
+
61
+ Install to system root (all of this needs to be typed in one line):
62
+
63
+ ``` shell
64
+ cmake -Bbuild
65
+ -DBFDEV_EXAMPLES=ON
66
+ -DCMAKE_BUILD_TYPE=Release
67
+ -DCMAKE_INSTALL_PREFIX=/usr
68
+ ```
69
+
70
+ Install to user's local:
60
71
61
72
``` shell
62
73
cmake -Bbuild
63
- -DBFDEV_DEVEL=ON
64
- -DBFDEV_DBGLIST=OFF
74
+ -DBFDEV_EXAMPLES=ON
75
+ -DCMAKE_BUILD_TYPE=Release
76
+ -DCMAKE_INSTALL_PREFIX=${HOME} /.local
65
77
```
66
78
67
79
After configuration, bfdev is compiled and installed using make:
68
80
69
81
``` shell
70
82
cd build
71
- make $( nproc)
83
+ make -j $( nproc)
72
84
make install
73
85
```
You can’t perform that action at this time.
0 commit comments