summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-01-23 19:58:12 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-01-23 20:02:06 +0100
commit27504d7db00c816832c7cc130632048ff05903e9 (patch)
treebf28033086fd871a4e25818739d72bbb1cf8cc52
parentdbe75216c2316f43da6e6c25dd56ab16866b8636 (diff)
cmake: add eo
-rw-r--r--CMakeLists.txt1
-rw-r--r--cmake/config/eo.cmake1
-rw-r--r--src/lib/efl/config.h.cmake2
-rw-r--r--src/lib/eo/CMakeLists.txt27
-rw-r--r--src/tests/eo/access/CMakeLists.txt13
-rw-r--r--src/tests/eo/children/CMakeLists.txt9
-rw-r--r--src/tests/eo/composite_objects/CMakeLists.txt11
-rw-r--r--src/tests/eo/constructors/CMakeLists.txt23
-rw-r--r--src/tests/eo/function_overrides/CMakeLists.txt15
-rw-r--r--src/tests/eo/interface/CMakeLists.txt14
-rw-r--r--src/tests/eo/mixin/CMakeLists.txt19
-rw-r--r--src/tests/eo/signals/CMakeLists.txt9
-rw-r--r--src/tests/eo/suite/CMakeLists.txt24
13 files changed, 168 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 194ff3c1c2..09479baea9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,6 +37,7 @@ include(${CMAKE_SOURCE_DIR}/cmake/config/common.cmake)
37 37
38EFL_LIB(eina) 38EFL_LIB(eina)
39EFL_LIB(eolian) 39EFL_LIB(eolian)
40EFL_LIB(eo)
40 41
41EFL_OPTIONS_SUMMARY() 42EFL_OPTIONS_SUMMARY()
42 43
diff --git a/cmake/config/eo.cmake b/cmake/config/eo.cmake
new file mode 100644
index 0000000000..8264d315f2
--- /dev/null
+++ b/cmake/config/eo.cmake
@@ -0,0 +1 @@
EFL_OPTION(HAVE_EO_ID "Have Eo id indirection" ON)
diff --git a/src/lib/efl/config.h.cmake b/src/lib/efl/config.h.cmake
index f664e52665..47ceb53a8c 100644
--- a/src/lib/efl/config.h.cmake
+++ b/src/lib/efl/config.h.cmake
@@ -32,4 +32,6 @@
32#cmakedefine EFL_HAVE_POSIX_THREADS_SPINLOCK 1 32#cmakedefine EFL_HAVE_POSIX_THREADS_SPINLOCK 1
33#cmakedefine EFL_HAVE_THREADS 1 33#cmakedefine EFL_HAVE_THREADS 1
34 34
35#cmakedefine HAVE_EO_ID
36
35#endif 37#endif
diff --git a/src/lib/eo/CMakeLists.txt b/src/lib/eo/CMakeLists.txt
new file mode 100644
index 0000000000..fb075f38af
--- /dev/null
+++ b/src/lib/eo/CMakeLists.txt
@@ -0,0 +1,27 @@
1set(PUBLIC_LIBRARIES
2 eina
3)
4
5set(PUBLIC_HEADERS
6 Eo.h
7 efl_future.h
8)
9
10set(PUBLIC_EO_FILES
11 efl_object.eo
12 efl_class.eo
13 efl_object_override.eo
14 efl_interface.eo
15)
16
17set(SOURCES
18 eo.c
19 eo_ptr_indirection.c
20 eo_ptr_indirection.h
21 eo_base_class.c
22 eo_class_class.c
23 eo_add_fallback.c
24 eo_add_fallback.h
25 eo_private.h
26 efl_future.c
27)
diff --git a/src/tests/eo/access/CMakeLists.txt b/src/tests/eo/access/CMakeLists.txt
new file mode 100644
index 0000000000..19360f0333
--- /dev/null
+++ b/src/tests/eo/access/CMakeLists.txt
@@ -0,0 +1,13 @@
1set(LIBRARIES
2 eina
3 eo
4)
5
6set(SOURCES
7 access_inherit.c
8 access_inherit.h
9 access_main.c
10 access_simple.c
11 access_simple.h
12 access_simple_protected.h
13)
diff --git a/src/tests/eo/children/CMakeLists.txt b/src/tests/eo/children/CMakeLists.txt
new file mode 100644
index 0000000000..bcd86ef21c
--- /dev/null
+++ b/src/tests/eo/children/CMakeLists.txt
@@ -0,0 +1,9 @@
1set(LIBRARIES
2 eo
3)
4
5set(SOURCES
6 children_main.c
7 children_simple.c
8 children_simple.h
9)
diff --git a/src/tests/eo/composite_objects/CMakeLists.txt b/src/tests/eo/composite_objects/CMakeLists.txt
new file mode 100644
index 0000000000..cab44f9ed6
--- /dev/null
+++ b/src/tests/eo/composite_objects/CMakeLists.txt
@@ -0,0 +1,11 @@
1set(LIBRARIES
2 eo
3)
4
5set(SOURCES
6 composite_objects_comp.c
7 composite_objects_comp.h
8 composite_objects_main.c
9 composite_objects_simple.c
10 composite_objects_simple.h
11)
diff --git a/src/tests/eo/constructors/CMakeLists.txt b/src/tests/eo/constructors/CMakeLists.txt
new file mode 100644
index 0000000000..60de7467b6
--- /dev/null
+++ b/src/tests/eo/constructors/CMakeLists.txt
@@ -0,0 +1,23 @@
1set(LIBRARIES
2 eo
3)
4
5set(SOURCES
6 constructors_main.c
7 constructors_mixin.c
8 constructors_mixin.h
9 constructors_simple.c
10 constructors_simple.h
11 constructors_simple2.c
12 constructors_simple2.h
13 constructors_simple3.c
14 constructors_simple3.h
15 constructors_simple4.c
16 constructors_simple4.h
17 constructors_simple5.c
18 constructors_simple5.h
19 constructors_simple6.c
20 constructors_simple6.h
21 constructors_simple7.c
22 constructors_simple7.h
23)
diff --git a/src/tests/eo/function_overrides/CMakeLists.txt b/src/tests/eo/function_overrides/CMakeLists.txt
new file mode 100644
index 0000000000..c961d3be64
--- /dev/null
+++ b/src/tests/eo/function_overrides/CMakeLists.txt
@@ -0,0 +1,15 @@
1set(LIBRARIES
2 eo
3)
4
5set(SOURCES
6 function_overrides_inherit.c
7 function_overrides_inherit.h
8 function_overrides_inherit2.c
9 function_overrides_inherit2.h
10 function_overrides_inherit3.c
11 function_overrides_inherit3.h
12 function_overrides_main.c
13 function_overrides_simple.c
14 function_overrides_simple.h
15)
diff --git a/src/tests/eo/interface/CMakeLists.txt b/src/tests/eo/interface/CMakeLists.txt
new file mode 100644
index 0000000000..8bc1a992fe
--- /dev/null
+++ b/src/tests/eo/interface/CMakeLists.txt
@@ -0,0 +1,14 @@
1set(LIBRARIES
2 eo
3)
4
5set(SOURCES
6interface_interface.c
7interface_interface.h
8interface_interface2.c
9interface_interface2.h
10interface_main.c
11interface_simple.c
12interface_simple.h
13
14)
diff --git a/src/tests/eo/mixin/CMakeLists.txt b/src/tests/eo/mixin/CMakeLists.txt
new file mode 100644
index 0000000000..a7f92d6883
--- /dev/null
+++ b/src/tests/eo/mixin/CMakeLists.txt
@@ -0,0 +1,19 @@
1set(LIBRARIES
2 eo
3)
4
5set(SOURCES
6 mixin_inherit.c
7 mixin_inherit.h
8 mixin_main.c
9 mixin_mixin.c
10 mixin_mixin.h
11 mixin_mixin2.c
12 mixin_mixin2.h
13 mixin_mixin3.c
14 mixin_mixin3.h
15 mixin_mixin4.c
16 mixin_mixin4.h
17 mixin_simple.c
18 mixin_simple.h
19)
diff --git a/src/tests/eo/signals/CMakeLists.txt b/src/tests/eo/signals/CMakeLists.txt
new file mode 100644
index 0000000000..f6d3fae51b
--- /dev/null
+++ b/src/tests/eo/signals/CMakeLists.txt
@@ -0,0 +1,9 @@
1set(LIBRARIES
2 eo
3)
4
5set(SOURCES
6 signals_main.c
7 signals_simple.c
8 signals_simple.h
9)
diff --git a/src/tests/eo/suite/CMakeLists.txt b/src/tests/eo/suite/CMakeLists.txt
new file mode 100644
index 0000000000..14cad83941
--- /dev/null
+++ b/src/tests/eo/suite/CMakeLists.txt
@@ -0,0 +1,24 @@
1set(LIBRARIES
2 eo
3)
4
5set(SOURCES
6 eo_error_msgs.c
7 eo_error_msgs.h
8 eo_suite.c
9 eo_suite.h
10 eo_test_call_errors.c
11 eo_test_class_behaviour_errors.c
12 eo_test_class_errors.c
13 eo_test_class_simple.c
14 eo_test_class_simple.h
15 eo_test_class_singleton.c
16 eo_test_class_singleton.h
17 eo_test_domain.c
18 eo_test_domain.h
19 eo_test_event.c
20 eo_test_general.c
21 eo_test_init.c
22 eo_test_threaded_calls.c
23 eo_test_value.c
24)