~/talk

Tips and Tricks for Becoming a CMake Master

Talkat NDC TechTown 2023 · 2023-09-18..09-21· [developer-experience]
speakerdeck:closingbrace
slides:none on file

Shows how to ship a self-made find_package module for Oracle (targets Oracle 12, GCC 10, CMake 3.18) and a reproducible pipeline that runs Oracle ProC to convert ~80 embedded-SQL files spread over many CMake targets into C++ before compilation. Extracts GCC’s default include paths, sets per-file warning suppression for generated sources, wires add_custom_command via an execute_process wrapper to capture output cleanly, and uses generator expressions* and target interface properties so the build is correct and repeatable.

AI-written summary · about

  1. 0:00Introduction
  2. 3:24Manual build for embedded SQL
  3. 5:55CMake basics
  4. 8:58CMake variables and find_package
  5. 12:12Oracle installation paths
  6. 15:17Oracle include directories
  7. 22:18External libraries and targets
  8. 23:45Compiler include paths
  9. 29:18Oracle Pro*C compiler
  10. 32:50Reusable CMake functions
  11. 41:01Source files and outputs
  12. 46:19Target properties and generator expressions
  13. 51:20Build cleaning and errors
  14. 53:43Custom silent commands
~/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.