summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2015-12-02 07:57:53 +0200
committerFurkan Sahin <furkan-dev@proton.me>2015-12-02 07:57:53 +0200
commit143aaac291d88c1dabd9323d16139ee3c10cb743 (patch)
tree717052d8d88f3fd14d26566daa520dbdd3a452fe /common
parentee4d54e48ec145350f045896ebc6af6154a3ea2e (diff)
cmake: build common code only once
This creates (static) libraries for protocols/, common/, and wayland/.
Diffstat (limited to 'common')
-rw-r--r--common/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt
new file mode 100644
index 00000000..f7d44ec5
--- /dev/null
+++ b/common/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_library(sway-common
+ ipc-client.c
+ list.c
+ log.c
+ readline.c
+ stringop.c
+ )