~/talk

CMake: A Case Study

Talkat ACCU 2023 · 2023-04-19..04-22· [c-and-cpp, developer-experience]
speakerdeck:closingbrace
slides:none on file

Shows how to integrate Oracle embedded-SQL into a CMake build by writing a custom FindPackage module to locate Oracle client libraries and headers and by adding CMake functions that invoke Oracle’s preprocessor to convert tens or hundreds of .sql-in-C files into C++ intermediates. Uses custom targets, per-target generator expressions and target properties to pass include dirs and compiler options, stores intermediates in a build subdir, and verifies the result builds and links on Linux.

AI-written summary · about

  1. 0:00CMake case study intro
  2. 1:12Oracle embedded SQL challenge
  3. 4:04Project structure & converter
  4. 8:18Finding Oracle libraries
  5. 13:31Version checks & error handling
  6. 19:54Internal compiler targets
  7. 27:30Preprocessing SQL files
  8. 31:21Target properties & arguments
  9. 35:57Processing source files
  10. 43:32Compiler warnings & errors
  11. 48:05Generator expressions
  12. 54:46Custom commands & processing
  13. 1:01:19Build execution & output
  14. 1:05:42Conclusion
~/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.