Technical Requirements
You can find the code files that are present in this chapter on GitHub at https://github.com/PacktPublishing/Modern-CMake-for-Cpp2/tree/main/examples/ch08
To build examples provided in this book always use the recommended commands:
cmake -B <build tree> -S <source tree>
cmake --build <build tree>
Be sure to replace placeholders <build tree
>
and <source tree>
with appropriate paths. As a reminder: the build tree is the path to the target/output directory, the source tree is the path at which your source code is located.