Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit d36c4d9

Browse files
committed
Improve custom build documentation.
Add a section to show on how to use a locally openscap build for this project construction.
1 parent 5fdb05e commit d36c4d9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,21 @@ $ cmake ../
4242
$ make
4343
```
4444

45+
If you have built openscap locally it is possible to use it through custom CMake definitions:
46+
47+
```console
48+
$ cmake -DOPENSCAP_LIBRARIES:PATH=/local/openscap.so/filepath/ \
49+
-DOPENSCAP_INCLUDE_DIRS:PATH=/local/openscap/include/path \
50+
-DOPENSCAP_VERSION:STRING="X.Y.Z" \
51+
../
52+
$ make
53+
```
54+
4555
3) Install SCAP Workbench: (optional)
4656

4757
(inside the build folder):
4858
```console
49-
# make install
59+
$ make install
5060
```
5161

5262
4a) Run SCAP Workbench: (if it was installed)

0 commit comments

Comments
 (0)