Skip to content

Glossary: C++ Beyond the Basics

Library target

Also written: add_library, orders_core

A CMake `add_library` target of compiled code with no `main`, which both the program and the test program link to. It avoids compiling `order.cpp` twice.

Where the book teaches it

Related terms

CMakePUBLIC and PRIVATE