~/talk

An Introduction to CMakePresets.json

Talkat Pure Virtual C++ 2021 · on Monday, 2021-05-03· [devops-and-delivery, documentation]
links:none on file
links:none on file
slides:none on file

CMakePresets.json arrives in CMake 3.19/3.20 and provides repository-checkin cmakepresets.json plus per-user cmakeuserpresets.json to replace ad hoc shell/batch scripts for configure build and test. Configure presets (3.19) and build/test presets (3.20) set generator (Ninja, VS, Xcode), cache variables, inheritance, targets and parallelism; CLI, CMake GUI, VS Code (CMake Tools v1.7) and Visual Studio (16.10 preview) integrations demo successfully, with vendor map entries for IDE-only options and a noted Visual Studio caveat around multi-config generators.

AI-written summary · about

  1. 0:00Introduction to presets
  2. 0:23What are CMake presets
  3. 0:54Presets vs other methods
  4. 2:34Benefits of using presets
  5. 3:46Configure presets example
  6. 5:33Build and test presets
  7. 6:28IDE integration and vendors
  8. 8:12Command line demo
  9. 12:00VS Code and GUI demo
  10. 14:37Visual Studio and WSL demo
  11. 16:53Resources for learning
  12. 17:49Q&A and conclusion
~/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.