lib: cpp: remove deprecated Kconfigs

These Kconfigs should have been deprecated for more than 2
releases, remove them:

- `CONFIG_CPP_MAIN`
- `CONFIG_CPLUSPLUS`
- `CONFIG_LIB_CPLUSPLUS`
- `CONFIG_EXCEPTIONS`
- `CONFIG_RTTI`

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
Yong Cong Sin 2024-06-17 22:20:38 +08:00 committed by Anas Nashif
commit 67578faefe
6 changed files with 3 additions and 67 deletions

View file

@ -10,7 +10,7 @@ else()
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(base)
if(CONFIG_CPLUSPLUS)
if(CONFIG_CPP)
message(STATUS "adding main.cpp")
target_sources(app PRIVATE src/main.cpp)
else()

View file

@ -12,6 +12,6 @@ tests:
- native_sim
testing.ztest.expect_cpp:
extra_configs:
- CONFIG_CPLUSPLUS=y
- CONFIG_CPP=y
testing.ztest.expect.unit:
type: unit