mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-12 14:57:20 +00:00
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.
37 lines
586 B
CMake
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()
|