1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys: add Kconfig support for cpp11-compat module

This commit is contained in:
Alexandre Abadie 2022-04-23 15:55:48 +02:00
parent c38eb27fe0
commit 1db89df391
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 19 additions and 0 deletions

View File

@ -21,6 +21,7 @@ rsource "chunked_ringbuffer/Kconfig"
rsource "color/Kconfig"
rsource "crypto/Kconfig"
rsource "congure/Kconfig"
rsource "cpp11-compat/Kconfig"
rsource "cpp_new_delete/Kconfig"
rsource "cxx_ctor_guards/Kconfig"
rsource "div/Kconfig"

18
sys/cpp11-compat/Kconfig Normal file
View File

@ -0,0 +1,18 @@
# Copyright (C) 2022 Inria
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
config MODULE_CPP11-COMPAT
bool "C++11 wrapper for RIOT"
depends on TEST_KCONFIG
depends on HAS_CPP
depends on HAS_LIBSTDCPP
select MODULE_CPP
select MODULE_CPP_NEW_DELETE
select MODULE_XTIMER
select MODULE_TIMEX
select MODULE_ZTIMER64_XTIMER_COMPAT if MODULE_ZTIMER_XTIMER_COMPAT