-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Minimal CMake
By :
Before looking at using an installed library, let’s first install one ourselves using CMake. We’ll choose a library that we’re going to use for our Game of Life application to continue improving its functionality; the library we’re going to use is called Simple Directmedia Layer (SDL). SDL is a cross-platform windowing library that provides support for input, graphics, audio, and much more. SDL 2 is the latest stable release, though at the time of writing, SDL 3 is available in prerelease to try out. SDL 2 is distributed under the zlib license, which allows it to be used freely in any kind of software. To learn more about SDL, visit https://www.libsdl.org/.
SDL is an open source project and is conveniently hosted on GitHub; it can be accessed by visiting https://github.com/libsdl-org/SDL. From the SDL GitHub homepage, let’s start by copying the .git URL by clicking the Code dropdown at the top right of the page and pressing...