Files
LookingGlass/client/displayservers/Windows/CMakeLists.txt
Geoffrey McRae 1a4b6049bd [client] windows: implement native clipboard support
Add Win32 clipboard ownership, notifications, and data exchange for
text and image formats. Marshal clipboard access onto the window thread
and reject stale transfers when ownership changes.

Keep file clipboard offers unsupported while clearing stale content from
earlier remote offers.
2026-11-06 14:40:26 +11:00

37 lines
586 B
CMake

cmake_minimum_required(VERSION 3.10)
project(displayserver_Windows LANGUAGES C)
add_library(displayserver_Windows STATIC
clipboard.c
input_event.c
window_size.c
windows.c
)
target_compile_definitions(displayserver_Windows PRIVATE
WINVER=0x0A00
_WIN32_WINNT=0x0A00
WIN32_LEAN_AND_MEAN
NOMINMAX
UNICODE
_UNICODE
)
target_include_directories(displayserver_Windows
PRIVATE
.
../../src
)
target_link_libraries(displayserver_Windows
lg_common
user32
gdi32
)
if(ENABLE_EGL)
target_link_libraries(displayserver_Windows
lg_egl_provider
)
endif()