summaryrefslogtreecommitdiff
path: root/src/lib/extensions/focus_inspector/CMakeLists.txt
blob: 366f15daa99c0fb4a7e69fb3e994cd92157bc7f8 (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
set(CMAKE_BUILD_TYPE Debug)

STRING(REGEX REPLACE "\n" "" EOLIAN_EO_DIR ${EOLIAN_EO_DIR})
STRING(REGEX REPLACE " " "" EOLIAN_EO_DIR ${EOLIAN_EO_DIR})
add_definitions(${CLI_COMMON_DEFINITIONS} -DEFL_EO_API_SUPPORT
   -DEOLIAN_EO_DIR="${EOLIAN_EO_DIR}" -DFOCUS_EDJ="${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME_LOWER}/clouseau_focus_inspector.edj")

add_definitions(-DEFL_EO_API_SUPPORT -DGUI_IMAGES_PATH="${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME_LOWER}")

set(EOLIAN_INCLUDE_FLAG -I \"${EOLIAN_EO_DIR}/eo-1\" -I${CMAKE_CURRENT_SOURCE_DIR})

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

link_directories (${PC_LIBELEMENTARY_LIBRARY_DIRS})

add_library(clouseau_focus_inspector SHARED main.c gui.c tree_view.c)

target_link_libraries(clouseau_focus_inspector
   ${ELEMENTARY_LIBRARIES}
   ${EVAS_LIBRARIES}
   ${EO_LIBRARIES}
   ${EINA_LIBRARIES}
   ${EET_LIBRARIES}
   ${EOLIAN_LIBRARIES}
   clouseau_debug
   )

add_dependencies(clouseau_focus_inspector focus_inspector_theme)

INSTALL(TARGETS clouseau_focus_inspector LIBRARY DESTINATION lib)