~/talk

Deep CMake for Library Authors

Talkat CppCon 2019 · 2019-09-15..09-20· [devops-and-delivery]
links:none on file
slides:none on file

Shows how to make shared libraries robust across platforms using concrete CMake features and commands: set GCC/Clang flags -fvisibility=hidden and -fvisibility-inlines-hidden and generate per-target headers with generate_export_header to control symbol exports; use target properties VERSION and SOVERSION vs VERSION to get correct sonames; write a package version file with write_basic_package_version_file and COMPATIBILITY SameMajorVersion; install with GNUInstallDirs, componentized installs, and set CMAKE_INSTALL_RPATH=$ORIGIN so runtime linkage survives packaging.

AI-written summary · about

  1. 0:00Introduction
  2. 2:38Controlling API visibility
  3. 12:33Library versioning strategy
  4. 22:29Consuming libraries
  5. 26:32Packaging and installation
  6. 38:40Solving RPATH issues
  7. 53:18Q&A session
~/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.