~/talk

Dependency Management in C++

Talkat NDC TechTown 2021 · 2021-08-30..09-02· [c-and-cpp, security]
slides:none on file

Tests four C++ dependency approaches — conan, vcpkg, CPM, and plain fetch_content — by building a small cross‑platform demo (SFML window, fmt logging, Catch2 test). Finds conan closest to desired workflow, vcpkg nearly there, while CPM/fetch_content force source builds and break find_package and C++ standard assumptions (SFML required C++14). Uses GitHub Actions caching, notes transitive/version tracking is missing, and calls for a single machine‑parsable dependency tree output so vulnerability scanners can stop guessing.

AI-written summary · about

  1. 0:00Start
  2. 2:13Why Should You Have Dependency Management
  3. 2:49Vulnerability in Openssl
  4. 6:46Demo Project
  5. 7:06Requirements for the Dependency Manager
  6. 10:59Basic Project Structure
  7. 12:32Test Code
  8. 13:31Source Cmake File
  9. 14:53Github Action Workflow
  10. 20:51Github Action Cache
  11. 23:28Basic Structure
  12. 24:07How To Specify My My Dependencies
  13. 25:19Fetch Content
  14. 28:23Tool Chain File
  15. 30:10Using External Project
  16. 49:30How Do I Know What the Licenses of all of My Dependencies Are
  17. 51:03Questions and or Comments
~/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.