All languages

C

You're viewing a free preview. Sign in free to read every script.

Why this exists A Makefile works for a handful of files, but larger projects need portability, dependency discovery and IDE support. CMake is the de facto standard: it generates the actual build files (Makefiles or…

Building with CMake: Libraries, Options, Sanitizer Builds and Static Binaries

The build system most C and C++ projects use: describe targets and their dependencies in CMakeLists.txt, configure and build out of tree, add options for sanitizers and static linking, register tests with CTest, and package a static binary into a minimal container.

Sign in free to read this script, along with the rest of the library.

Sign in free