Technical requirements
For this chapter, we will need to install GoogleTest (https://google.github.io/googletest) to compile some of the examples.
Some examples need a compiler supporting C++20. Therefore, check the Technical requirements section in Chapter 3, as it includes some guidance on how to install GCC 13 and Clang 8 compilers.
You can find all the complete code in the following GitHub repository:
https://github.com/PacktPublishing/Asynchronous-Programming-with-CPP
The examples for this chapter are located under the Chapter_12
folder. All source code files can be compiled using CMake as follows:
$ cmake . && cmake —build .
Executable binaries will be generated under the bin
directory.