~/talk

CMake for the Impatient

Talkat C++ on Sea 2025 · 2025-06-23..06-25· [c-and-cpp, devops-and-delivery]
links:none on file
slides:none on file

Shows a working minimal CMakeLists.txt that builds main.cpp into world.exe using real commands cmake -B bin then cmake --build bin, and demonstrates generator switching between Visual Studio, GNU make and Ninja (Ninja is notably faster). Shows dependency inference: changing a header triggers incremental rebuild without rerunning configuration. Pulls third‑party code with fetch_content (GoogleTest, Catch2) and finds packages like SFML with find_package, including debug vs release link choices. Continuous integration and cross‑toolchain builds are proven feasible.

AI-written summary · about

  1. 0:00CMake introduction
  2. 4:44Why learn CMake
  3. 10:06Basic project setup
  4. 20:00Ninja build system
  5. 27:58CMake vs Make
  6. 34:08Simple CMake examples
  7. 45:57Third-party dependencies
  8. 51:21Large project structure
  9. 53:53Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.