1if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS}) 2 add_subdirectory(${LIBC_TARGET_OS}) 3endif() 4 5add_entrypoint_object( 6 call_once 7 ALIAS 8 DEPENDS 9 .${LIBC_TARGET_OS}.call_once 10) 11 12add_entrypoint_object( 13 thrd_create 14 ALIAS 15 DEPENDS 16 .${LIBC_TARGET_OS}.thrd_create 17) 18 19add_entrypoint_object( 20 thrd_join 21 ALIAS 22 DEPENDS 23 .${LIBC_TARGET_OS}.thrd_join 24) 25 26add_entrypoint_object( 27 mtx_init 28 ALIAS 29 DEPENDS 30 .${LIBC_TARGET_OS}.mtx_init 31) 32 33add_entrypoint_object( 34 mtx_lock 35 ALIAS 36 DEPENDS 37 .${LIBC_TARGET_OS}.mtx_lock 38) 39 40add_entrypoint_object( 41 mtx_unlock 42 ALIAS 43 DEPENDS 44 .${LIBC_TARGET_OS}.mtx_unlock 45) 46