xserver-multidpi/hw/xwin/winclipboard/meson.build
Jon Turney 1f38a31ed3 Add meson.build for XWin server (v2)
This needs a meson with PRs #1784, #1792 and #1794

Future work: remove conditionals which are always on, and simplify redundant
CYGDEBUG conditionals

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
2017-06-02 09:32:35 -07:00

32 lines
549 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('x11'),
dependency('xfixes'),
],
)
srcs_xwinclip = [
'xwinclip.c',
'debug.c',
]
executable(
'xwinclip',
srcs_xwinclip,
link_with: xwin_clipboard,
link_args: ['-lgdi32', '-lpthread'],
install: true,
)