This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
55 lines (46 loc) · 1.76 KB
/
meson.build
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
project('PanosUI', ['cpp', 'c'], default_options: ['cpp_std=c++17'])
wayland_egl = dependency('wayland-egl')
wayland_client = dependency('wayland-client')
wayland_cursor = dependency('wayland-cursor')
wl_roots = dependency('wlroots')
egl = dependency('egl')
glesv2 = dependency('glesv2')
fontconfig = dependency('fontconfig')
freetype = dependency('freetype2')
glx = dependency('glx')
src = [
'xdg-shell-protocol.c',
'wlr-layer-shell-unstable-v1.c',
'egl.cpp',
'wayland/Display.cpp',
'wayland/Pointer.cpp',
'wayland/Registry.cpp',
'wayland/ShellSurface.cpp',
'wayland/Surface.cpp',
'wayland/XDGSurface.cpp',
'wayland/XDGToplevel.cpp',
'ui/Animation.cpp',
'ui/Application.cpp',
'ui/EventResponder.cpp',
'ui/Layer.cpp',
'ui/Registry.cpp',
'ui/Shape.cpp',
'ui/Skia.cpp',
'ui/View.cpp',
'ui/Window.cpp',
'ui/WindowShell.cpp',
'ui/WindowToplevel.cpp',
'ui/widget/Label.cpp',
'ui/widget/Image.cpp'
]
skia = declare_dependency(link_args : ['-L/home/john/skia/out/linux/x64', '-lskia'],
include_directories : ['./thirdparty/skia'])
panosuilib = shared_library('panosui',
src,
include_directories : ['ui', 'wayland'],
dependencies : [wayland_egl, wayland_client, wayland_cursor, wl_roots, egl, glesv2, fontconfig, freetype, glx, skia],
install : true)
panosclient = executable('panos-client', 'main.cpp',
include_directories : ['ui', 'wayland', './thirdparty/skia'],
link_with : panosuilib)
# executable('panos-client', src, dependencies: [wayland_egl, wayland_client, wayland_cursor, wl_roots, egl, glesv2, fontconfig, freetype, glx, skia])