mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
libcxxabi: Soft link the libcxxabi header file to nuttx/include.
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
This commit is contained in:
@@ -52,16 +52,17 @@ if(CONFIG_LIBCXXABI)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
nuttx_create_symlink(${CMAKE_CURRENT_LIST_DIR}/libcxxabi/include
|
||||||
|
${CMAKE_BINARY_DIR}/include/libcxxabi)
|
||||||
|
|
||||||
set_property(
|
set_property(
|
||||||
TARGET nuttx
|
TARGET nuttx
|
||||||
APPEND
|
APPEND
|
||||||
PROPERTY NUTTX_CXX_INCLUDE_DIRECTORIES
|
PROPERTY NUTTX_CXX_INCLUDE_DIRECTORIES
|
||||||
${CMAKE_CURRENT_LIST_DIR}/libcxxabi/include)
|
${CMAKE_BINARY_DIR}/include/libcxxabi)
|
||||||
|
|
||||||
nuttx_add_system_library(libcxxabi)
|
nuttx_add_system_library(libcxxabi)
|
||||||
|
|
||||||
set(SRCS)
|
|
||||||
|
|
||||||
# C++ABI files
|
# C++ABI files
|
||||||
list(
|
list(
|
||||||
APPEND
|
APPEND
|
||||||
@@ -98,8 +99,6 @@ if(CONFIG_LIBCXXABI)
|
|||||||
add_compile_definitions(LIBCXX_BUILDING_LIBCXXABI)
|
add_compile_definitions(LIBCXX_BUILDING_LIBCXXABI)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(TARGET_SRCS)
|
|
||||||
|
|
||||||
foreach(src ${SRCS})
|
foreach(src ${SRCS})
|
||||||
string(PREPEND src libcxxabi/src/)
|
string(PREPEND src libcxxabi/src/)
|
||||||
list(APPEND TARGET_SRCS ${src})
|
list(APPEND TARGET_SRCS ${src})
|
||||||
|
|||||||
Reference in New Issue
Block a user