summaryrefslogtreecommitdiff
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
parent18af6422a07f447de84201fd94b32c24ce80d70d (diff)
cmake: add eet.
-rw-r--r--CMakeLists.txt1
-rw-r--r--src/lib/eet/CMakeLists.txt46
-rw-r--r--src/tests/eet/CMakeLists.txt14
3 files changed, 61 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aca7adfa19..e2cb0162bd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -36,6 +36,7 @@ EFL_LIB(eolian)
36EFL_LIB(eo) 36EFL_LIB(eo)
37EFL_LIB(efl) 37EFL_LIB(efl)
38EFL_LIB(emile) 38EFL_LIB(emile)
39EFL_LIB(eet)
39EFL_LIB(ecore) 40EFL_LIB(ecore)
40 41
41EFL_OPTIONS_SUMMARY() 42EFL_OPTIONS_SUMMARY()
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()
diff --git a/src/tests/eet/CMakeLists.txt b/src/tests/eet/CMakeLists.txt
new file mode 100644
index 0000000000..9d4ac3af87
--- /dev/null
+++ b/src/tests/eet/CMakeLists.txt
@@ -0,0 +1,14 @@
1set(SOURCES
2 eet_suite.c
3 eet_suite.h
4 eet_test_cache.c
5 eet_test_cipher.c
6 eet_test_common.c
7 eet_test_common.h
8 eet_test_connection.c
9 eet_test_data.c
10 eet_test_file.c
11 eet_test_identity.c
12 eet_test_image.c
13 eet_test_init.c
14)