2012-04-06 17:49:35 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 17:49:35 +02:00
|
|
|
#
|
2012-04-11 01:49:13 +02:00
|
|
|
|
2012-11-02 01:22:52 +01:00
|
|
|
comment "Basic CXX Support"
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config HAVE_CXX
|
2012-04-11 01:49:13 +02:00
|
|
|
bool "Have C++ compiler"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2014-04-14 00:22:22 +02:00
|
|
|
Toolchain supports C++ and CXX, CXXFLAGS, and COMPILEXX have been
|
2012-04-11 01:49:13 +02:00
|
|
|
defined in the configurations Make.defs file.
|
2012-04-07 16:50:57 +02:00
|
|
|
|
2022-05-03 09:45:40 +02:00
|
|
|
config HAVE_CXXINITIALIZE
|
|
|
|
bool "Have C++ initialization"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The platform-specific logic includes support for initialization
|
|
|
|
of static C++ instances for this architecture and for the selected
|
|
|
|
toolchain.
|
|
|
|
|
2012-11-01 22:08:56 +01:00
|
|
|
if HAVE_CXX
|
|
|
|
|
2020-10-27 02:12:57 +01:00
|
|
|
choice
|
|
|
|
prompt "C++ Library"
|
2021-08-29 15:36:24 +02:00
|
|
|
default LIBCXXMINI
|
2020-10-27 02:12:57 +01:00
|
|
|
|
2021-08-29 15:36:24 +02:00
|
|
|
config LIBCXXMINI
|
|
|
|
bool "Basic C++ support"
|
2020-10-27 02:12:57 +01:00
|
|
|
---help---
|
|
|
|
A fragmentary C++ library that will allow to build only
|
2021-08-25 08:26:21 +02:00
|
|
|
the simplest of C++ applications. Only contain basic C++
|
|
|
|
runtime support function.
|
2020-10-27 02:12:57 +01:00
|
|
|
|
|
|
|
config LIBCXX
|
|
|
|
bool "LLVM libc++ C++ Standard Library"
|
2022-05-03 09:45:40 +02:00
|
|
|
select HAVE_CXXINITIALIZE
|
2020-10-27 02:12:57 +01:00
|
|
|
select LIBC_LOCALE
|
|
|
|
---help---
|
|
|
|
LLVM "libc++" C++ Standard Library
|
|
|
|
https://libcxx.llvm.org/
|
|
|
|
|
|
|
|
config UCLIBCXX
|
|
|
|
bool "uClibc++ Standard C++ Library"
|
2022-05-03 09:45:40 +02:00
|
|
|
select HAVE_CXXINITIALIZE
|
2020-10-27 02:12:57 +01:00
|
|
|
---help---
|
|
|
|
uClibc++ C++ library
|
|
|
|
https://cxx.uclibc.org/
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2022-08-04 23:09:17 +02:00
|
|
|
if LIBCXXMINI
|
|
|
|
|
|
|
|
config ETL
|
|
|
|
bool "Embedded Template Library (ETL)"
|
|
|
|
depends on ALLOW_MIT_COMPONENTS
|
|
|
|
---help---
|
|
|
|
ETL A C++ Template library for Embedded applications
|
|
|
|
Implements C++ templates such as containers, string
|
|
|
|
singleton math without C++ STL libraries
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2021-08-25 08:26:21 +02:00
|
|
|
if LIBCXX || UCLIBCXX
|
|
|
|
|
2021-08-19 11:11:50 +02:00
|
|
|
choice
|
|
|
|
prompt "C++ low level library select"
|
2021-08-27 18:13:21 +02:00
|
|
|
default LIBSUPCXX
|
2021-08-19 11:11:50 +02:00
|
|
|
|
|
|
|
config LIBCXXABI
|
|
|
|
bool "LLVM low level C++ Library"
|
|
|
|
---help---
|
|
|
|
LLVM "libc++abi" C++ Standard Library
|
|
|
|
https://libcxxabi.llvm.org/
|
|
|
|
Select if your use libc++abi as lower level c++ library
|
|
|
|
|
2021-08-27 18:13:21 +02:00
|
|
|
config LIBSUPCXX
|
2021-08-19 11:11:50 +02:00
|
|
|
bool "GNU low level libsupc++"
|
|
|
|
---help---
|
|
|
|
Select if your toolchain provides libsupc++ and use libsupc++ as lower
|
|
|
|
level c++ library.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2021-08-25 08:26:21 +02:00
|
|
|
endif
|
|
|
|
|
2023-01-15 19:17:19 +01:00
|
|
|
config CXX_STANDARD
|
|
|
|
string "Language standard"
|
2023-01-19 03:28:04 +01:00
|
|
|
default "gnu++17"
|
2023-01-15 19:17:19 +01:00
|
|
|
---help---
|
2023-01-19 03:28:04 +01:00
|
|
|
Possible values:
|
|
|
|
gnu++98/c++98, gnu++11/c++11, gnu++14/c++14, gnu++17/c++17 and gnu++20/c++20
|
2023-01-15 19:17:19 +01:00
|
|
|
|
2019-01-26 18:23:31 +01:00
|
|
|
config CXX_EXCEPTION
|
2020-06-28 17:03:57 +02:00
|
|
|
bool "Enable Exception Support"
|
2019-01-26 18:23:31 +01:00
|
|
|
|
2022-03-25 20:09:35 +01:00
|
|
|
config CXX_RTTI
|
|
|
|
bool "Enable RTTI Support"
|
|
|
|
|
2012-11-01 22:08:56 +01:00
|
|
|
if UCLIBCXX
|
|
|
|
|
2022-05-31 07:55:11 +02:00
|
|
|
config UCLIBCXX_WCHAR
|
|
|
|
bool "Enable Wide Stream Support"
|
|
|
|
default n
|
|
|
|
|
2020-06-27 11:20:25 +02:00
|
|
|
config UCLIBCXX_BUFSIZE
|
|
|
|
int "IO Stream/Container Buffer Size"
|
2012-11-01 22:08:56 +01:00
|
|
|
default 32
|
|
|
|
|
|
|
|
endif
|
|
|
|
endif
|