summaryrefslogtreecommitdiff
path: root/src/lib/CMakeLists.txt
diff options
context:
space:
mode:
authortasn <tasn>2012-06-10 14:56:06 +0000
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2012-06-10 14:56:06 +0000
commit0f3650762a898f15fbf813464c012f72066d7911 (patch)
treeb9b9f55010dd2a2f22bcd038f7c2145c0cc1fbc5 /src/lib/CMakeLists.txt
parentb430ac5865919e9ea708ba0ce7f9b861afdb70e5 (diff)
downloadeobj-0f3650762a898f15fbf813464c012f72066d7911.tar.gz
eobj-0f3650762a898f15fbf813464c012f72066d7911.tar.bz2
eobj-0f3650762a898f15fbf813464c012f72066d7911.zip
Eo: Restructure source tree to be like the rest of the EFL.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@71904 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
Diffstat (limited to 'src/lib/CMakeLists.txt')
-rw-r--r--src/lib/CMakeLists.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
new file mode 100644
index 0000000..5867a28
--- /dev/null
+++ b/src/lib/CMakeLists.txt
@@ -0,0 +1,27 @@
+LIST(APPEND EO_CC_SOURCES
+ eo.c
+ eo_base_class.c
+ )
+
+ADD_DEFINITIONS(-DEFL_EO_BUILD=1)
+
+include_directories(
+ ${EINA_INCLUDE_DIRS}
+ )
+
+add_library(eo SHARED ${EO_CC_SOURCES})
+target_link_libraries(eo
+ ${EINA_LIBRARIES}
+ ${EINA_LDFLAGS_OTHER}
+ ${EFL_COVERAGE_LIBS}
+ )
+
+set_target_properties(eo PROPERTIES
+ COMPILE_FLAGS "${EFL_COVERAGE_CFLAGS}")
+set_target_properties(eo PROPERTIES
+ VERSION ${PACKAGE_VERSION} SOVERSION ${VMAJ})
+set_target_properties(eo PROPERTIES OUTPUT_NAME "eo")
+
+INSTALL(TARGETS eo DESTINATION "lib")
+INSTALL(FILES "${CMAKE_CURRENT_SOURCE_DIR}/Eo.h"
+ DESTINATION "include")