blob: d61a659dcac5295b93a8bacf2f108dd8ed03661b [file] [log] [blame]
# SPDX-License-Identifier: Apache-2.0
zephyr_sources(
cpp_init_array.c
cpp_ctors.c
cpp_dtors.c
)
if (NOT CONFIG_LIB_CPLUSPLUS)
zephyr_system_include_directories(
include
)
endif()
if (NOT CONFIG_LIB_CPLUSPLUS AND
(NOT CONFIG_MINIMAL_LIBC OR
(CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE GREATER 0)))
zephyr_sources(
cpp_virtual.c
cpp_vtable.cpp
cpp_new.cpp
)
endif()