More Modern CMake
summary
Claims that switching to CMake 3.12 and later cuts boilerplate and crashes: targets carry usage requirements so includes, compile features and link flags auto‑propagate; external libraries become imported targets promotable to global with set_target_properties(IMPORTED GLOBAL); the demo calculator app links Boost (program_options, graph) and header‑only boost::outcome, uses object libraries to avoid recompiling heavy templates, and compiles cleanly with modern CMake while the traditional approach needs manual include/link propagation. Notes quirks around object‑file propagation and upcoming fixes in 3.13.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 0:29What is Simek
- 1:41History of Simek
- 3:34What you need to know
- 5:15Whats the difference
- 8:35Commands
- 10:38Directory Structure
- 13:10Dependencies
- 19:53Boost Outcome
- 24:53Creating Libraries
- 28:13Usage Requirements
- 33:46Short Program
- 41:42Shared Libraries
- 49:18Target Linked Libraries
- 54:09Summary








