summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-20 12:58:21 -0200
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-01-23 18:23:40 +0100
commit3d5abc081f59dda9887dbacc8e8ab24c96d5ee65 (patch)
treee0a208eea958e4bf95c8e56efcd76e8c4b925c62 /src
parente1b98ca4f2148b752cf35246c4435733dc08a547 (diff)
EflMacros: major improvements towards usability.
Stick to one target per directory and remove prefix from variables, makes it cleaner and easier to use. Document variables used and use a more consistent name that matches CMake properties.
Diffstat (limited to '')
-rw-r--r--src/lib/eina/CMakeLists.txt9
-rw-r--r--src/tests/eina/CMakeLists.txt8
2 files changed, 8 insertions, 9 deletions
diff --git a/src/lib/eina/CMakeLists.txt b/src/lib/eina/CMakeLists.txt
index 8e08a49f27..1a57243d33 100644
--- a/src/lib/eina/CMakeLists.txt
+++ b/src/lib/eina/CMakeLists.txt
@@ -1,11 +1,12 @@
1 1
2set(eina_INCLUDE_DIRECTORIES ${VG_INCLUDE_DIRS}) 2set(INCLUDE_DIRECTORIES
3 ${VG_INCLUDE_DIRS})
3 4
4set(eina_LIBRARIES 5set(LIBRARIES
5 ${VG_LIBRARIES} 6 ${VG_LIBRARIES}
6 pthread) 7 pthread)
7 8
8set(eina_HEADERS 9set(PUBLIC_HEADERS
9 Eina.h 10 Eina.h
10 eina_accessor.h 11 eina_accessor.h
11 eina_alloca.h 12 eina_alloca.h
@@ -81,7 +82,7 @@ set(eina_HEADERS
81 eina_xattr.h 82 eina_xattr.h
82 ) 83 )
83 84
84LIST(APPEND eina_SOURCES 85set(SOURCES
85 eina_abi.c 86 eina_abi.c
86 eina_accessor.c 87 eina_accessor.c
87 eina_array.c 88 eina_array.c
diff --git a/src/tests/eina/CMakeLists.txt b/src/tests/eina/CMakeLists.txt
index 434db48670..ff394c3397 100644
--- a/src/tests/eina/CMakeLists.txt
+++ b/src/tests/eina/CMakeLists.txt
@@ -1,8 +1,6 @@
1set(eina_TESTS eina_suite) 1set(LIBRARIES m)
2 2
3set(eina_suite_LIBRARIES m) 3set(SOURCES
4
5set(eina_suite_SOURCES
6 eina_suite.c 4 eina_suite.c
7 eina_suite.h 5 eina_suite.h
8 eina_suite.x 6 eina_suite.x
@@ -60,7 +58,7 @@ set(eina_suite_SOURCES
60 eina_test_xattr.c 58 eina_test_xattr.c
61 ) 59 )
62 60
63set(eina_suite_DEPENDS 61set(DEPENDS
64 eina_test_stringshare.c 62 eina_test_stringshare.c
65 eina_test_util.c 63 eina_test_util.c
66 ) 64 )