2018-03-27 21:25:25 +02:00
|
|
|
deps = [
|
|
|
|
cairo,
|
2018-03-29 05:04:20 +02:00
|
|
|
pango,
|
|
|
|
pangocairo,
|
2018-03-27 21:25:25 +02:00
|
|
|
wlroots
|
|
|
|
]
|
|
|
|
|
|
|
|
if gdk_pixbuf.found()
|
|
|
|
deps += [gdk_pixbuf]
|
|
|
|
endif
|
|
|
|
|
|
|
|
lib_sway_common = static_library(
|
|
|
|
'sway-common',
|
2017-11-30 12:25:13 +01:00
|
|
|
files(
|
2018-03-27 21:25:25 +02:00
|
|
|
'cairo.c',
|
|
|
|
'ipc-client.c',
|
2017-11-30 12:25:13 +01:00
|
|
|
'log.c',
|
|
|
|
'list.c',
|
2018-03-29 05:04:20 +02:00
|
|
|
'pango.c',
|
2017-11-30 12:25:13 +01:00
|
|
|
'readline.c',
|
2018-03-27 21:25:25 +02:00
|
|
|
'stringop.c',
|
|
|
|
'util.c'
|
2017-11-30 12:25:13 +01:00
|
|
|
),
|
2018-03-27 21:25:25 +02:00
|
|
|
dependencies: deps,
|
2017-11-30 12:25:13 +01:00
|
|
|
include_directories: sway_inc
|
2017-11-30 09:39:27 +01:00
|
|
|
)
|