How bc913/cpp_cmake_scaffold works
This repository is a C++/CMake scaffold demonstrating how an executable consumes header-only, static, and shared libraries. Its example workflow sorts data through the header-only library, computes a longest-consecutive-sequence result through the static library, and uses an employee object from the shared library. The README also describes internal and external dependency use; the graph focuses on the sampled runtime components. Edges follow the client calls and library implementations shown in source, with the additional shared-to-static dependency documented in the README.
Main entry points: employee.cpp Employee library · main.cpp Example client · array_algs.cpp LCS library · sort.h Heap sort
Components 5
Application
- Example client
src/Client/main.cpp
Libraries
- LCS library
src/StaticLib/array_algs.cpp - Employee library
src/DynamicLib/employee.cpp - Export API
src/DynamicLib/include/bcdynamic/BcDynApi.h
Algorithms
- Heap sort
src/HeaderOnly/include/bcheaderonly/sort.h
Connections 7
- Example client → Heap sort: sorts via
src/Client/main.cpp - Example client → LCS library: computes via
src/Client/main.cpp - Example client → Employee library: uses
src/Client/main.cpp - LCS library → Heap sort: sorts with
src/StaticLib/array_algs.cpp - Employee library → Heap sort: sorts with
src/DynamicLib/employee.cpp - Employee library → Export API: exports through
- Employee library → LCS library: consumes
README.md