diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2015-12-02 07:57:53 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2015-12-02 07:57:53 +0200 |
| commit | 143aaac291d88c1dabd9323d16139ee3c10cb743 (patch) | |
| tree | 717052d8d88f3fd14d26566daa520dbdd3a452fe /wayland | |
| parent | ee4d54e48ec145350f045896ebc6af6154a3ea2e (diff) | |
cmake: build common code only once
This creates (static) libraries for protocols/, common/, and wayland/.
Diffstat (limited to 'wayland')
| -rw-r--r-- | wayland/CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
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} + ) |
