bmalloc: Miscellaneous cleanup
[WebKit-https.git] / Tools / MiniBrowser / efl / CMakeLists.txt
1 set(MiniBrowser_DIR "${TOOLS_DIR}/MiniBrowser/efl")
2
3 # Elementary is needed to build MiniBrowser
4 find_package(Eldbus ${EFL_REQUIRED_VERSION} ${EFL_CONFIG_MODE})
5 find_package(Elementary ${EFL_REQUIRED_VERSION} ${EFL_CONFIG_MODE})
6 find_package(Ethumb ${EFL_REQUIRED_VERSION} ${EFL_CONFIG_MODE})
7 find_package(EthumbClient ${EFL_REQUIRED_VERSION} ${EFL_CONFIG_MODE})
8
9 set(MiniBrowser_SOURCES
10     ${MiniBrowser_DIR}/main.c
11 )
12
13 set(MiniBrowser_INCLUDE_DIRECTORIES
14     ${CAIRO_INCLUDE_DIRS}
15     ${DERIVED_SOURCES_WEBKIT2_DIR}/include
16     ${ECORE_INCLUDE_DIRS}
17     ${ECORE_EVAS_INCLUDE_DIRS}
18     ${ECORE_CON_INCLUDE_DIRS}
19     ${ECORE_FILE_INCLUDE_DIRS}
20     ${ECORE_IMF_INCLUDE_DIRS}
21     ${ECORE_INPUT_INCLUDE_DIRS}
22     ${EDJE_INCLUDE_DIRS}
23     ${EET_INCLUDE_DIRS}
24     ${EO_INCLUDE_DIRS}
25     ${DBUS_INCLUDE_DIRS}
26     ${EFREET_INCLUDE_DIRS}
27     ${EINA_INCLUDE_DIRS}
28     ${ELDBUS_INCLUDE_DIRS}
29     ${ELEMENTARY_INCLUDE_DIRS}
30     ${ETHUMB_INCLUDE_DIRS}
31     ${ETHUMB_CLIENT_INCLUDE_DIRS}
32     ${EVAS_INCLUDE_DIRS}
33     ${WEBKIT2_DIR}/UIProcess/API/efl
34     ${WEBKIT2_DIR}
35     ${CMAKE_SOURCE_DIR}/Source
36 )
37
38 set(MiniBrowser_LIBRARIES
39     JavaScriptCore
40     WebCore
41     WebKit2
42     ${CAIRO_LIBRARIES}
43     ${ECORE_LIBRARIES}
44     ${ECORE_EVAS_LIBRARIES}
45     ${ECORE_FILE_LIBRARIES}
46     ${EDJE_LIBRARIES}
47     ${EET_LIBRARIES}
48     ${EINA_LIBRARIES}
49     ${ELEMENTARY_LIBRARIES}
50     ${EO_LIBRARIES}
51     ${EVAS_LIBRARIES}
52     ${FONTCONFIG_LIBRARIES}
53     ${GLIB_LIBRARIES}
54     ${GLIB_GTHREAD_LIBRARIES}
55     ${LIBSOUP_LIBRARIES}
56     ${LIBXML2_LIBRARIES}
57     ${LIBXSLT_LIBRARIES} -lm
58     ${OPENGL_LIBRARIES}
59     ${SQLITE_LIBRARIES}
60 )
61
62 if (ELEMENTARY_FOUND)
63     include_directories(${MiniBrowser_INCLUDE_DIRECTORIES})
64     add_executable(MiniBrowser ${MiniBrowser_SOURCES})
65     target_link_libraries(MiniBrowser ${MiniBrowser_LIBRARIES})
66     set_target_properties(MiniBrowser PROPERTIES FOLDER "Tools")
67 endif ()