Chapter 5: Integrating Third-Party Libraries and Dependency Management
So far, in this book, we have covered how to build and install our own code with CMake. In this chapter, we will take a look at how to use files, libraries, and programs that are not part of a CMake project. The first part of the chapter will be about how to find those things in general, while the latter part will focus on how to manage dependencies to build your CMake project.
One of the biggest advantages of using CMake is that it has built-in dependency management for the discovery of many third-party libraries. In this chapter, we will look at how to integrate libraries that are installed on your system and locally downloaded dependencies. Additionally, you will learn ...
Get CMake Best Practices now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.