‑‑keep
In this section:
Syntax
‑‑keepsymbol[,symbol1,...]
Parameters
| The name of the global symbols to be treated as root symbols. |
Description
Normally, the linker keeps a symbol only if it is needed by your application. Use this option to make global symbols always be included in the final application.
Caution
Project>Options>Linker>Input>Keep symbols