The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_LIB_CPLUSPLUS

Link with STD C++ library

Type: bool

Help

Link with STD C++ Library.

Direct dependencies

!MINIMAL_LIBC && CPLUSPLUS

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/cpp/Kconfig:57

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:15

Menu path: (Top) → Sub Systems and OS Services → C++ support for the application

config LIB_CPLUSPLUS
    bool "Link with STD C++ library"
    depends on !MINIMAL_LIBC && CPLUSPLUS
    help
      Link with STD C++ Library.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)