You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
785 B
Meson
42 lines
785 B
Meson
srcs_windows_clipboard = [
|
|
'winclipboard.h',
|
|
'textconv.c',
|
|
'thread.c',
|
|
'wndproc.c',
|
|
'xevents.c',
|
|
]
|
|
|
|
xwin_clipboard = static_library(
|
|
'XWinclipboard',
|
|
srcs_windows_clipboard,
|
|
include_directories: inc,
|
|
c_args: '-DHAVE_XWIN_CONFIG_H',
|
|
dependencies: [
|
|
dependency('xcb'),
|
|
dependency('xcb-aux'),
|
|
dependency('xcb-icccm'),
|
|
dependency('xcb-xfixes'),
|
|
socket_dep,
|
|
],
|
|
)
|
|
|
|
srcs_xwinclip = [
|
|
'xwinclip.c',
|
|
'debug.c',
|
|
]
|
|
|
|
executable(
|
|
'xwinclip',
|
|
srcs_xwinclip,
|
|
link_with: xwin_clipboard,
|
|
link_args: ['-lgdi32', '-lpthread'],
|
|
install: true,
|
|
)
|
|
|
|
xwinclip_man = configure_file(
|
|
input: 'xwinclip.man',
|
|
output: 'xwinclip.1',
|
|
configuration: manpage_config,
|
|
)
|
|
install_man(xwinclip_man)
|