Skip to content

Commit

Permalink
Document optional dependency CMake build options (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek authored Apr 18, 2022
1 parent d05f39e commit 8257e59
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -322,4 +322,18 @@ Older versions of `CMake`` only honor this option with the Intel compiler on Lin
This option *breaks* safe pointers, resulting in crashes, therefore is suitable only for debugging.
When combined with `-DRUNTIME_CHECK=asan`, the pointer breakages are much less frequent.

|`-DBUILD_TESTING=OFF`
|Excludes project's tests from the build.

|`-DBUILD_BENCHMARKS=ON`
|Benchmarking tests will be built.
The `libbenchmark` library is required by the benchmarks.

|===

==== Optional dependencies

The following CMake options can be used to force-enable (or force-disable) the use of optional dependencies:

- `-DUSE_LIBNGHTTP2`, for the libnghttp2 library, needed by the http2 protocol adaptor
- `-DUSE_LIBWEBSOCKETS`, for the libwebsockets library, needed to configure `http: yes` listeners

0 comments on commit 8257e59

Please sign in to comment.