Setup vcpkg on the build machine, and ensure that VCPKG_ROOT is available in the PATH environment variable.
Details of how to do this can be found at steps 1 and 2 in this getting started doc.
Ensure the vcpkg executable is available in your PATH.
Configure CMake, which will install and build dependencies via vcpkg.
Additionally, since I use NeoVim, I export the compile_commands.json to the build directory to for use with clangd:
cmake --preset=vcpkg -DCMAKE_EXPORT_COMPILE_COMMANDS=1Build the test via CMake:
cmake --build buildRun the tests:
./build/test_wait_free_queueBuild documentation into the docs folder:
doxygen DoxyfileYou can also build and test in a Docker containter.
Build the container:
docker build -t wf-queue-test .Run the tests in the container:
docker run --rm wf-queue-test