-
Book Overview & Buying
-
Table Of Contents
Minimal CMake
By :
It’s time to take another well-deserved breather and let everything we’ve covered sink in. We touched on some advanced CMake features, so don’t fret if your head is spinning. The more you practice and experiment with these concepts, the more things will click.
In this chapter, we moved from installing our own libraries manually to leveraging ExternalProject_Add to automate the installation process. This takes a lot of the tedium out of setting up our project and is a useful strategy to apply to future projects. We then looked at setting up a super build for our project to offer a way to build everything with a single command without losing any of the flexibility we’ve come to expect. This technique further streamlines project configuration and is a fantastic default to provide users with when creating applications.
Afterward, we saw how CMake can be used to replace cross-platform scripts and automate external processes such as shader compilation...