Glossary: C++ Beyond the Basics
PUBLIC and PRIVATE
Also written: PUBLIC, PRIVATE
Keywords in `target_link_libraries`. `PRIVATE` means only this target needs the dependency, while `PUBLIC` also passes it on to every target linking this one.
Glossary: C++ Beyond the Basics
Also written: PUBLIC, PRIVATE
Keywords in `target_link_libraries`. `PRIVATE` means only this target needs the dependency, while `PUBLIC` also passes it on to every target linking this one.