diff options
author | 2017-12-01 08:21:01 -0500 | |
---|---|---|
committer | 2017-12-01 08:21:01 -0500 | |
commit | 1cfebe827ae53a243ffdd1e09f8b71d4c1a4e254 (patch) | |
tree | b74002984ff80201c02ed9c22ca2fe1cdae98e23 /swaymsg | |
parent | Merge pull request #1482 from acrisci/refactor/use-frame-done (diff) | |
parent | update travis (diff) | |
download | sway-1cfebe827ae53a243ffdd1e09f8b71d4c1a4e254.tar.gz sway-1cfebe827ae53a243ffdd1e09f8b71d4c1a4e254.tar.zst sway-1cfebe827ae53a243ffdd1e09f8b71d4c1a4e254.zip |
Merge pull request #1479 from acrisci/feature/meson-build
meson build
Diffstat (limited to 'swaymsg')
-rw-r--r-- | swaymsg/CMakeLists.txt | 23 | ||||
-rw-r--r-- | swaymsg/meson.build | 8 |
2 files changed, 8 insertions, 23 deletions
diff --git a/swaymsg/CMakeLists.txt b/swaymsg/CMakeLists.txt deleted file mode 100644 index b428a409..00000000 --- a/swaymsg/CMakeLists.txt +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | add_executable(swaymsg | ||
2 | main.c | ||
3 | ) | ||
4 | |||
5 | include_directories( | ||
6 | ${JSONC_INCLUDE_DIRS} | ||
7 | ) | ||
8 | |||
9 | target_link_libraries(swaymsg | ||
10 | sway-common | ||
11 | ${JSONC_LIBRARIES} | ||
12 | ) | ||
13 | |||
14 | install( | ||
15 | TARGETS swaymsg | ||
16 | RUNTIME | ||
17 | DESTINATION bin | ||
18 | COMPONENT runtime | ||
19 | ) | ||
20 | |||
21 | if (A2X_FOUND) | ||
22 | add_manpage(swaymsg 1) | ||
23 | endif() | ||
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 @@ | |||
1 | executable( | ||
2 | 'swaymsg', | ||
3 | 'main.c', | ||
4 | include_directories: [sway_inc], | ||
5 | dependencies: [jsonc], | ||
6 | link_with: [lib_sway_common], | ||
7 | install: true | ||
8 | ) | ||