summaryrefslogtreecommitdiff
path: root/hw/xwin/winclipboard/meson.build
blob: dd7b2d20e76bf475043f48c19324f109a7d997bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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'],
    dependencies: [dependency('x11')],
    install: true,
)