Tag: Dependency
3 posts
-
C++ Forward Declaration: Reduce Includes and Break Cycles
When a forward declaration beats #include: pointer members, breaking circular includes, PIMPL, and the unique_ptr incomplete-type error in destructors.
-
CMake find_package: CONFIG vs MODULE, Search Paths and Errors
How CMake find_package really searches: MODULE-then-CONFIG order, CMAKE_PREFIX_PATH and <Pkg>_ROOT, imported targets, FindBoost removal, and fixes for each error.
-
CMake Targets: PUBLIC, PRIVATE and INTERFACE Visibility and Transitive Dependencies
Modern CMake targets: add_executable/add_library, target_* commands, visibility, transitive deps, OBJECT libs, aliases—multi-library project.