How to CMake Good - 1b - Adding a Library
Channel: vector-of-bool
Date: 2018-08-12

Last time we created an executable, but you might also want to make some libraries! I'll show how you can make a library and how you can control what type of library is generated, as well as how we can link that library into an executable.

Addendum: I didn't touch on MODULE libraries much, only briefly mentioning them. In general, they are used to represent "plugins" for other software. It will manifest itself as a shared library but cannot be linked into other libraries. They're not as common to see.

WARNING: This video contains chemicals known to the State of California to cause cancer and birth defects or other reproductive harm.