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