summaryrefslogtreecommitdiff
path: root/src/lib/eet
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-26 14:02:21 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-26 14:23:24 -0200
commit180d8f7db61632e0f4de3d061a49e6787c0ab7d7 (patch)
tree99da581b83d6e255e8ca742681123d56c42bfccc /src/lib/eet
parent18af6422a07f447de84201fd94b32c24ce80d70d (diff)
cmake: add eet.
Diffstat (limited to 'src/lib/eet')
-rw-r--r--src/lib/eet/CMakeLists.txt46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/lib/eet/CMakeLists.txt b/src/lib/eet/CMakeLists.txt
new file mode 100644
index 0000000000..b0aaffd190
--- /dev/null
+++ b/src/lib/eet/CMakeLists.txt
@@ -0,0 +1,46 @@
1set(DESCRIPTION "Library for speedy data storage, retrieval, and compression")
2
3set(PKG_CONFIG_REQUIRES_PRIVATE
4 zlib>=1.2.3
5 libjpeg
6)
7
8set(PUBLIC_LIBRARIES
9 eina
10 emile
11)
12
13set(LIBRARIES
14 m
15)
16
17set(PUBLIC_HEADERS
18 Eet.h
19)
20
21set(SOURCES
22 eet_alloc.c
23 eet_cipher.c
24 eet_connection.c
25 eet_data.c
26 eet_dictionary.c
27 eet_image.c
28 eet_lib.c
29 eet_node.c
30 Eet_private.h
31 eet_utils.c
32 ${CMAKE_SOURCE_DIR}/src/static_libs/rg_etc/rg_etc1.c
33 ${CMAKE_SOURCE_DIR}/src/static_libs/rg_etc/rg_etc2.c
34 ${CMAKE_SOURCE_DIR}/src/static_libs/rg_etc/etc2_encoder.c
35 ${CMAKE_SOURCE_DIR}/src/static_libs/rg_etc/rg_etc1.h
36)
37
38set(INCLUDE_DIRECTORIES
39 ${CMAKE_SOURCE_DIR}/src/static_libs/rg_etc
40)
41
42if(WITH_CRYPTO STREQUAL "gnutls")
43 list(APPEND PKG_CONFIG_REQUIRES_PRIVATE gnutls)
44elseif(WITH_CRYPTO STREQUAL "openssl")
45 list(APPEND PKG_CONFIG_REQUIRES_PRIVATE openssl)
46endif()