diff options
author | Christoph Gysin <christoph.gysin@gmail.com> | 2015-12-02 07:57:53 +0200 |
---|---|---|
committer | Christoph Gysin <christoph.gysin@gmail.com> | 2015-12-02 12:15:57 +0200 |
commit | cce9c338c07e889aa82db806f0dddf2f997edbb6 (patch) | |
tree | 717052d8d88f3fd14d26566daa520dbdd3a452fe /common | |
parent | Merge pull request #290 from christophgysin/cmake (diff) | |
download | sway-cce9c338c07e889aa82db806f0dddf2f997edbb6.tar.gz sway-cce9c338c07e889aa82db806f0dddf2f997edbb6.tar.zst sway-cce9c338c07e889aa82db806f0dddf2f997edbb6.zip |
cmake: build common code only once
This creates (static) libraries for protocols/, common/, and wayland/.
Diffstat (limited to 'common')
-rw-r--r-- | common/CMakeLists.txt | 7 |
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 @@ | |||
1 | add_library(sway-common | ||
2 | ipc-client.c | ||
3 | list.c | ||
4 | log.c | ||
5 | readline.c | ||
6 | stringop.c | ||
7 | ) | ||