Builds and runs the `mediasoup-worker-test` binary at `worker/out/Release/` (or at `worker/out/Debug/` if the "MEDIASOUP_BUILDTYPE" environment variable is set to "Debug"), which uses [Catch2](https://github.com/catchorg/Catch2) to run test units located at `worker/test/` folder.
### `make fuzzer`
### `make clean`
Builds the `mediasoup-worker-fuzzer` binary (which uses [libFuzzer](http://llvm.org/docs/LibFuzzer.html)) at `worker/out/Release/` (or at `worker/out/Debug/` if the "MEDIASOUP_BUILDTYPE" environment variable is set to "Debug").
Cleans built objects and binaries.
**Requirements:**
* Linux with fuzzer capable clang++.
*`CC` environment variable must point to "clang".
*`CXX` environment variable must point to "clang++".
### `make clean-all`
Read the [Fuzzer](Fuzzer.md) documentation for detailed information.
Cleans all objects and binaries, including those generated for library dependencies (such as libuv, openssl, libsrtp, etc).
### `make xcode`
...
...
@@ -114,6 +106,11 @@ Validates mediasoup-worker C++ files using [clang-format](https://clang.llvm.org
Rewrites mediasoup-worker C++ files using [clang-format](https://clang.llvm.org/docs/ClangFormat.html).
### `make test`
Builds and runs the `mediasoup-worker-test` binary at `worker/out/Release/` (or at `worker/out/Debug/` if the "MEDIASOUP_BUILDTYPE" environment variable is set to "Debug"), which uses [Catch2](https://github.com/catchorg/Catch2) to run test units located at `worker/test/` folder.
### `make bear`
Generates the `worker/compile_commands_template.json` file which is a ["Clang compilation database"](https://clang.llvm.org/docs/JSONCompilationDatabase.html).
...
...
@@ -136,14 +133,22 @@ Runs [clang-tidy](http://clang.llvm.org/extra/clang-tidy/) and performs C++ code
- In OSX install it with `brew install libyaml` and `sudo easy_install-X.Y pyyaml`.
### `make clean`
### `make fuzzer`
Cleans built objects and binaries.
Builds the `mediasoup-worker-fuzzer` binary (which uses [libFuzzer](http://llvm.org/docs/LibFuzzer.html)) at `worker/out/Release/` (or at `worker/out/Debug/` if the "MEDIASOUP_BUILDTYPE" environment variable is set to "Debug").
**Requirements:**
### `make clean-all`
* Linux with fuzzer capable clang++.
*`CC` environment variable must point to "clang".
*`CXX` environment variable must point to "clang++".
Cleans all objects and binaries, including those generated for library dependencies (such as libuv, openssl, libsrtp, etc).
Read the [Fuzzer](Fuzzer.md) documentation for detailed information.