summaryrefslogtreecommitdiff
path: root/src/lib/CMakeLists.txt
blob: 79398e12a7abc37a9be142f0ec0761efc55a48f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
set(CMAKE_BUILD_TYPE Debug)

include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(
   ${EINA_INCLUDE_DIRS}
   ${EOLIAN_INCLUDE_DIRS}
   ${EO_INCLUDE_DIRS}
   ${FFI_INCLUDE_DIRS}
   ${EVAS_INCLUDE_DIRS}
   ${ELEMENTARY_INCLUDE_DIRS}
   )

add_library(eolian_debug SHARED eolian_debug.c)
add_library(eo_debug SHARED eo_debug.c)
add_library(evas_debug SHARED evas_debug.c)

target_link_libraries(eo_debug
   ${EINA_LIBRARIES}
   ${EO_LIBRARIES}
   )

target_link_libraries(eolian_debug
   ${EINA_LIBRARIES}
   ${EO_LIBRARIES}
   ${EOLIAN_LIBRARIES}
   ${FFI_LIBRARIES}
   )

target_link_libraries(evas_debug
   ${EINA_LIBRARIES}
   ${EO_LIBRARIES}
   ${ECORE_LIBRARIES}
   ${EVAS_LIBRARIES}
   )

#INSTALL(FILES Eolian_Debug.h DESTINATION include/edebug)
INSTALL(FILES Eo_Debug.h DESTINATION include/edebug)
INSTALL(FILES Evas_Debug.h DESTINATION include/edebug)

INSTALL(TARGETS eo_debug LIBRARY DESTINATION lib)
INSTALL(TARGETS eolian_debug LIBRARY DESTINATION lib)
INSTALL(TARGETS evas_debug LIBRARY DESTINATION lib)