1if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS}) 2 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS}) 3endif() 4 5add_entrypoint_object( 6 _Exit 7 ALIAS 8 DEPENDS 9 .${LIBC_TARGET_OS}._Exit 10) 11 12add_entrypoint_object( 13 abort 14 SRCS 15 abort.cpp 16 HDRS 17 abort.h 18 DEPENDS 19 libc.include.stdlib 20 libc.src.signal.raise 21 ._Exit 22) 23