userspace: Implement LibClipboard and ClipboardServer

programs can now connect to the clipboard server using libclipboard and
get and set the clipboard of the current user
This commit is contained in:
2025-11-18 02:53:55 +02:00
parent d60f12d3b8
commit 291f298d19
7 changed files with 527 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
set(SOURCES
main.cpp
)
add_executable(ClipboardServer ${SOURCES})
banan_include_headers(ClipboardServer libclipboard)
banan_link_library(ClipboardServer ban)
banan_link_library(ClipboardServer libc)
install(TARGETS ClipboardServer OPTIONAL)