mirror of
https://github.com/swaywm/sway.git
synced 2026-05-03 06:46:26 -04:00
move sway specific ipc code out of common
Moves the ipc-client code out of common into a dedicated ipc library to allow moving swaybg/swaylock into a separate project more easily
This commit is contained in:
parent
3fb60b6aed
commit
4a967f2d9d
7 changed files with 12 additions and 4 deletions
|
|
@ -3,7 +3,6 @@ lib_sway_common = static_library(
|
|||
files(
|
||||
'background-image.c',
|
||||
'cairo.c',
|
||||
'ipc-client.c',
|
||||
'log.c',
|
||||
'list.c',
|
||||
'pango.c',
|
||||
|
|
|
|||
8
ipc/meson.build
Normal file
8
ipc/meson.build
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
lib_sway_ipc = static_library(
|
||||
'sway-ipc',
|
||||
files(
|
||||
'ipc-client.c',
|
||||
),
|
||||
dependencies: [ ],
|
||||
include_directories: sway_inc
|
||||
)
|
||||
|
|
@ -115,6 +115,7 @@ sway_inc = include_directories('include')
|
|||
subdir('include')
|
||||
subdir('protocols')
|
||||
subdir('common')
|
||||
subdir('ipc')
|
||||
subdir('sway')
|
||||
subdir('swaymsg')
|
||||
|
||||
|
|
|
|||
|
|
@ -143,6 +143,6 @@ executable(
|
|||
sway_sources,
|
||||
include_directories: [sway_inc],
|
||||
dependencies: sway_deps,
|
||||
link_with: [lib_sway_common],
|
||||
link_with: [lib_sway_common, lib_sway_ipc],
|
||||
install: true
|
||||
)
|
||||
|
|
|
|||
|
|
@ -23,6 +23,6 @@ executable(
|
|||
wayland_cursor,
|
||||
wlroots,
|
||||
],
|
||||
link_with: [lib_sway_common, lib_sway_client],
|
||||
link_with: [lib_sway_common, lib_sway_client, lib_sway_ipc],
|
||||
install: true
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,6 +3,6 @@ executable(
|
|||
'main.c',
|
||||
include_directories: [sway_inc],
|
||||
dependencies: [jsonc, wlroots],
|
||||
link_with: [lib_sway_common],
|
||||
link_with: [lib_sway_common, lib_sway_ipc],
|
||||
install: true
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue