treewide: Use CONFIG_CPP instead of CONFIG_CPLUSPLUS

This commit updates all in-tree code to use `CONFIG_CPP` instead of
`CONFIG_CPLUSPLUS`, which is now deprecated.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
This commit is contained in:
Stephanos Ioannidis 2022-12-09 06:16:44 +09:00 committed by Christopher Friedt
commit 4a64bfe351
47 changed files with 97 additions and 97 deletions

View file

@ -12,7 +12,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

@ -1,5 +1,5 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_CPLUSPLUS=y
CONFIG_CPP=y
CONFIG_LIB_CPLUSPLUS=y

View file

@ -4,5 +4,5 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_CPLUSPLUS=y
CONFIG_CPP=y
CONFIG_LIB_CPLUSPLUS=y

View file

@ -4,5 +4,5 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_CPLUSPLUS=y
CONFIG_CPP=y
CONFIG_LIB_CPLUSPLUS=y