1if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS}) 2 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS}) 3endif() 4 5add_header_library( 6 abs_utils 7 HDRS 8 abs_utils.h 9) 10 11add_entrypoint_object( 12 _Exit 13 ALIAS 14 DEPENDS 15 .${LIBC_TARGET_OS}._Exit 16) 17 18add_entrypoint_object( 19 abort 20 SRCS 21 abort.cpp 22 HDRS 23 abort.h 24 DEPENDS 25 libc.include.stdlib 26 libc.src.signal.raise 27 ._Exit 28) 29 30add_entrypoint_object( 31 abs 32 SRCS 33 abs.cpp 34 HDRS 35 abs.h 36 DEPENDS 37 .abs_utils 38) 39 40add_entrypoint_object( 41 labs 42 SRCS 43 labs.cpp 44 HDRS 45 labs.h 46 DEPENDS 47 .abs_utils 48) 49 50add_entrypoint_object( 51 llabs 52 SRCS 53 llabs.cpp 54 HDRS 55 llabs.h 56 DEPENDS 57 .abs_utils 58) 59