From cce9c338c07e889aa82db806f0dddf2f997edbb6 Mon Sep 17 00:00:00 2001 From: Christoph Gysin Date: Wed, 2 Dec 2015 07:57:53 +0200 Subject: cmake: build common code only once This creates (static) libraries for protocols/, common/, and wayland/. --- wayland/CMakeLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 wayland/CMakeLists.txt (limited to 'wayland') diff --git a/wayland/CMakeLists.txt b/wayland/CMakeLists.txt new file mode 100644 index 00000000..5633dd6e --- /dev/null +++ b/wayland/CMakeLists.txt @@ -0,0 +1,17 @@ +include_directories( + ${PROTOCOLS_INCLUDE_DIRS} + ${PANGO_INCLUDE_DIRS} +) + +add_library(sway-wayland + buffers.c + pango.c + registry.c + window.c + ) + +target_link_libraries(sway-wayland + sway-common + sway-protocols + ${PANGO_LIBRARIES} + ) -- cgit v1.2.3-70-g09d2