1# Copyright 2023 The Pigweed Authors 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); you may not 4# use this file except in compliance with the License. You may obtain a copy of 5# the License at 6# 7# https://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12# License for the specific language governing permissions and limitations under 13# the License. 14 15config PIGWEED_MINIMAL_CPP_STDLIB 16 bool "Link pw_minimal_cpp_stdlib" 17 depends on STD_CPP17 || STD_CPP2A || STD_CPP20 || STD_CPP2B 18 help 19 Uses the pw_minimal_cpp_stdlib C++ standard library implementation. 20 The build must set `-nostdinc++` to exclude the toolchain's standard 21 library. This is NOT a full standard library implementation and may 22 only be used to build pw_tokenizer. 23 see :ref:'module-pw_minimal_cpp_stdlib' for module details. 24