Technical requirements
To run the examples in this chapter, you will need a recent C++ compiler that understands C++17. Although the examples are not complex enough to require the functionality of the new standard, the examples have been set up accordingly.
We recommend using any of the compilers listed here to run the examples:
- Linux: GCC 9 or newer, Clang 10 or newer
- Windows: MSVC 19 or newer or MinGW 9.0.0 or newer
- macOS: AppleClang 10 or newer
The complete samples used in this chapter can be found at https://github.com/PacktPublishing/CMake-Best-Practices---2nd-Edition/tree/main/chapter01
Note
To try out any examples in this book, we have provided a ready-made Docker container that contains all the requirements.
You can find it at https://github.com/PacktPublishing/CMake-Best-Practices---2nd-Edition.