From 1d702b6376b49c2e115c5b985ca241aedc40a48b Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Thu, 30 Nov 2017 11:40:49 -0500 Subject: meson build swaymsg --- swaymsg/meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 swaymsg/meson.build (limited to 'swaymsg/meson.build') diff --git a/swaymsg/meson.build b/swaymsg/meson.build new file mode 100644 index 00000000..2d678878 --- /dev/null +++ b/swaymsg/meson.build @@ -0,0 +1,8 @@ +executable( + 'swaymsg', + 'main.c', + include_directories: [sway_inc], + dependencies: [jsonc], + link_with: [lib_sway_common], + install: true +) -- cgit v1.2.3 From 51f6718581ab7e21fd7a8d50450586f3969781ab Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Fri, 5 Jan 2018 23:09:26 +0100 Subject: swaymsg: convert to wlr_log --- swaymsg/main.c | 2 +- swaymsg/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'swaymsg/meson.build') diff --git a/swaymsg/main.c b/swaymsg/main.c index a34eced4..88b14813 100644 --- a/swaymsg/main.c +++ b/swaymsg/main.c @@ -232,7 +232,7 @@ int main(int argc, char **argv) { char *socket_path = NULL; char *cmdtype = NULL; - init_log(L_INFO); + wlr_log_init(L_INFO, NULL); static struct option long_options[] = { {"help", no_argument, NULL, 'h'}, diff --git a/swaymsg/meson.build b/swaymsg/meson.build index 2d678878..8638b838 100644 --- a/swaymsg/meson.build +++ b/swaymsg/meson.build @@ -2,7 +2,7 @@ executable( 'swaymsg', 'main.c', include_directories: [sway_inc], - dependencies: [jsonc], + dependencies: [jsonc, wlroots], link_with: [lib_sway_common], install: true ) -- cgit v1.2.3